diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-11-01 17:56:47 +0100 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-11-01 17:56:47 +0100 |
| commit | cd80c6aa224b4dbdda7f31bb0d93ce8fda8fcf81 (patch) | |
| tree | 109978f9f9ecf5fddcd6a584bd435982c99b921f /frontend/src/api | |
| parent | frontend: uploadrundialog.tsx (diff) | |
| download | lphub-cd80c6aa224b4dbdda7f31bb0d93ce8fda8fcf81.tar.gz lphub-cd80c6aa224b4dbdda7f31bb0d93ce8fda8fcf81.tar.bz2 lphub-cd80c6aa224b4dbdda7f31bb0d93ce8fda8fcf81.zip | |
frontend: uploadrundialog
Diffstat (limited to 'frontend/src/api')
| -rw-r--r-- | frontend/src/api/Api.tsx | 2 |
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 | ||
| 52 | const BASE_API_URL: string = "https://lp.portal2.sr/api/v1/" | 52 | const BASE_API_URL: string = "/api/v1/" |
| 53 | 53 | ||
| 54 | export function url(path: string): string { | 54 | export function url(path: string): string { |
| 55 | return BASE_API_URL + path; | 55 | return BASE_API_URL + path; |