diff options
Diffstat (limited to 'fe/src/utils.ts')
-rw-r--r-- | fe/src/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fe/src/utils.ts b/fe/src/utils.ts index 9fddf41..41c733d 100644 --- a/fe/src/utils.ts +++ b/fe/src/utils.ts | |||
@@ -10,5 +10,5 @@ export function processFormInput(form: HTMLFormElement) { | |||
10 | 10 | ||
11 | export function apiURL (path: string): string { | 11 | export function apiURL (path: string): string { |
12 | const baseUrl = import.meta.env?.VITE_API_BASE_URL ?? "http://localhost:8080/api/v1"; | 12 | const baseUrl = import.meta.env?.VITE_API_BASE_URL ?? "http://localhost:8080/api/v1"; |
13 | return `${baseUrl}${path}` | 13 | return `${baseUrl}/${path}` |
14 | } | 14 | } |