diff options
Diffstat (limited to 'frontend/src/api/Api.ts')
| -rw-r--r-- | frontend/src/api/Api.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/api/Api.ts b/frontend/src/api/Api.ts index 19ece86..dd5076a 100644 --- a/frontend/src/api/Api.ts +++ b/frontend/src/api/Api.ts | |||
| @@ -51,7 +51,7 @@ export const API = { | |||
| 51 | 51 | ||
| 52 | const BASE_API_URL: string = import.meta.env.DEV | 52 | const BASE_API_URL: string = import.meta.env.DEV |
| 53 | ? "https://lp.portal2.sr/api/v1/" | 53 | ? "https://lp.portal2.sr/api/v1/" |
| 54 | : "/api/v1/" | 54 | : "/api/v1/"; |
| 55 | 55 | ||
| 56 | export function url(path: string): string { | 56 | export function url(path: string): string { |
| 57 | return BASE_API_URL + path; | 57 | return BASE_API_URL + path; |