diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-10-22 09:34:52 +0200 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-10-22 09:34:52 +0200 |
| commit | 8de619c5a0899f1eff2d74b003480891f740e2c0 (patch) | |
| tree | 3a0a34bacfadcf47ff70122631d6986dfface52a /frontend/src/api/Api.tsx | |
| parent | frontend: get first non disabled map (diff) | |
| download | lphub-8de619c5a0899f1eff2d74b003480891f740e2c0.tar.gz lphub-8de619c5a0899f1eff2d74b003480891f740e2c0.tar.bz2 lphub-8de619c5a0899f1eff2d74b003480891f740e2c0.zip | |
refactor: hook updated
Diffstat (limited to 'frontend/src/api/Api.tsx')
| -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 053e920..ddc7ac6 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 = "/api/v1/" | 52 | const BASE_API_URL: string = "https://lp.portal2.sr/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; |