diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-14 22:31:32 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-14 22:44:16 +0900 |
| commit | bf3b2b2f5fdfe4d54226b59ce82378e4a77dc700 (patch) | |
| tree | e8d6eaeab9ae28f1c66e530cbeed483db08a7098 /frontend/app/config.ts | |
| parent | 948d7e6596bc4a37c8d7903e785e099b6a81a664 (diff) | |
| download | iosdc-japan-2025-albatross-bf3b2b2f5fdfe4d54226b59ce82378e4a77dc700.tar.gz iosdc-japan-2025-albatross-bf3b2b2f5fdfe4d54226b59ce82378e4a77dc700.tar.zst iosdc-japan-2025-albatross-bf3b2b2f5fdfe4d54226b59ce82378e4a77dc700.zip | |
feat(backend,frontend): Replace hard-coded base path with environment variable
Diffstat (limited to 'frontend/app/config.ts')
| -rw-r--r-- | frontend/app/config.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/app/config.ts b/frontend/app/config.ts new file mode 100644 index 0000000..3e6e642 --- /dev/null +++ b/frontend/app/config.ts @@ -0,0 +1,2 @@ +export const BASE_PATH = import.meta.env.VITE_ALBATROSS_BASE_PATH || "/"; +export const API_BASE_PATH = `${BASE_PATH}api/`; |
