diff options
| author | Adam Soltys <[email protected]> | 2026-03-04 09:23:03 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-04 09:23:03 -0800 |
| commit | ba579c4f801be258128294e7cb1f4d2e518e37ca (patch) | |
| tree | 2ffbee38d5d82d06580a68ffddd798c1930d6ded /src/lib/utils.ts | |
| parent | e39b182ac4c2134157eca3f4cc7c8c7dfd389484 (diff) | |
| download | coinos-ui-ba579c4f801be258128294e7cb1f4d2e518e37ca.tar.gz coinos-ui-ba579c4f801be258128294e7cb1f4d2e518e37ca.zip | |
fix api calls
Diffstat (limited to 'src/lib/utils.ts')
| -rw-r--r-- | src/lib/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils.ts b/src/lib/utils.ts index cb1e5ec7..74e05f17 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -14,7 +14,7 @@ export function scroll(section: any) { setTimeout(() => section.scrollIntoView({ behavior: "smooth" }), 500); } -const base = browser ? "" : PUBLIC_COINOS_URL; +const base = browser ? "/api" : PUBLIC_COINOS_URL; let getIp: (() => string | undefined) | undefined; |
