Skip to content

Commit 91afb05

Browse files
committed
Fix API url
1 parent 3dabc99 commit 91afb05

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

gui/src/services/backend/api.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ import config from '../../../config'
2929
import * as hardcoded from '../hardcoded'
3030

3131
function bankBaseRoute(bank: BankName): string {
32-
return `http://localhost:8083/${bank.toLowerCase().replace(/ /g, '-')}/api`
32+
// return `http://localhost:8083/${bank.toLowerCase().replace(/ /g, '-')}/api`
33+
return `/${bank.toLowerCase().replace(/ /g, '-')}/api`
3334
}
3435

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

0 commit comments

Comments
 (0)