aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/api/Api.tsx
diff options
context:
space:
mode:
authorWolfboy248 <georgejvindkarlsen@gmail.com>2024-10-28 11:35:04 +0100
committerWolfboy248 <georgejvindkarlsen@gmail.com>2024-10-28 11:35:04 +0100
commitb229a524fae8908928f16832e8e4d4c604cefa3e (patch)
tree0fec3ae174394d1cb6baf4abfe285770054821c4 /frontend/src/api/Api.tsx
parentrefactor: hook updated (diff)
downloadlphub-b229a524fae8908928f16832e8e4d4c604cefa3e.tar.gz
lphub-b229a524fae8908928f16832e8e4d4c604cefa3e.tar.bz2
lphub-b229a524fae8908928f16832e8e4d4c604cefa3e.zip
refactor: uploadrundialog
Diffstat (limited to 'frontend/src/api/Api.tsx')
-rw-r--r--frontend/src/api/Api.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/api/Api.tsx b/frontend/src/api/Api.tsx
index ddc7ac6..053e920 100644
--- a/frontend/src/api/Api.tsx
+++ b/frontend/src/api/Api.tsx
@@ -49,7 +49,7 @@ export const API = {
49 delete_map_summary: (token: string, map_id: string, route_id: number) => delete_map_summary(token, map_id, route_id), 49 delete_map_summary: (token: string, map_id: string, route_id: number) => delete_map_summary(token, map_id, route_id),
50}; 50};
51 51
52const BASE_API_URL: string = "https://lp.portal2.sr/api/v1/" 52const BASE_API_URL: string = "/api/v1/"
53 53
54export function url(path: string): string { 54export function url(path: string): string {
55 return BASE_API_URL + path; 55 return BASE_API_URL + path;