diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-10-18 18:22:10 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-10-18 18:22:10 +0300 |
| commit | 5743ac759c5e46a4f2b82df91c4e8b40a3a47552 (patch) | |
| tree | 93a35918b7faf33ccc703b88639d94b8259e038e /frontend/src/api | |
| parent | Merge branch 'typescript' of https://github.com/pektezol/LeastPortalsHub into... (diff) | |
| download | lphub-5743ac759c5e46a4f2b82df91c4e8b40a3a47552.tar.gz lphub-5743ac759c5e46a4f2b82df91c4e8b40a3a47552.tar.bz2 lphub-5743ac759c5e46a4f2b82df91c4e8b40a3a47552.zip | |
refactor: nothing to see here
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 d03d0ec..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.ardapektezol.com/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; |