aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/api
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-22 10:48:28 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-10-22 10:48:28 +0300
commit4cc31d50baae7fea05cae502ffc2972b8a8ec165 (patch)
tree92fcb389f93b6eb34c7d0722794d8afb7c7a13dc /frontend/src/api
parentrefactor: hook updated (diff)
downloadlphub-4cc31d50baae7fea05cae502ffc2972b8a8ec165.tar.gz
lphub-4cc31d50baae7fea05cae502ffc2972b8a8ec165.tar.bz2
lphub-4cc31d50baae7fea05cae502ffc2972b8a8ec165.zip
xdd
Diffstat (limited to 'frontend/src/api')
-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;