From bf3b2b2f5fdfe4d54226b59ce82378e4a77dc700 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 14 Aug 2025 22:31:32 +0900 Subject: feat(backend,frontend): Replace hard-coded base path with environment variable --- frontend/app/config.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 frontend/app/config.ts (limited to 'frontend/app/config.ts') 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/`; -- cgit v1.2.3-70-g09d2