Skip to content

Commit 921f9d5

Browse files
committed
Fix bankBaseRoute to remove spaces in the URL path
1 parent 5087828 commit 921f9d5

File tree

1 file changed

+1
-1
lines changed
  • gui/src/services/backend

1 file changed

+1
-1
lines changed

gui/src/services/backend/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import config from '../../../config'
3030
import * as hardcoded from '../hardcoded'
3131

3232
function bankBaseRoute(bank: BankName): string {
33-
return `/${bank.toLowerCase().replace(/ /g, '-')}/api`
33+
return `/${bank.toLowerCase().replace(/ /g, '')}/api`
3434
}
3535

3636
function handleError(action: string, error: unknown): void {

0 commit comments

Comments
 (0)