관리자부분 추가
This commit is contained in:
parent
f09f9ed3f4
commit
e002f009ea
@ -5,7 +5,7 @@ export const API_BASE =
|
||||
env("VITE_API_BASE_URL") ||
|
||||
(location.hostname === "localhost"
|
||||
? "http://localhost:8000" // 로컬 기본: FastAPI
|
||||
: `${location.origin}`); // 배포 기본: 동일 오리진 프록시 가정
|
||||
: "https://api.biryu2000.kr"); // 배포 기본: 동일 오리진 프록시 가정
|
||||
|
||||
const rawAdminBase = env("VITE_ADMIN_BASE_PATH") ?? "/siteManage";
|
||||
export const ADMIN_BASE = rawAdminBase.startsWith("/") ? rawAdminBase : `/${rawAdminBase}`;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user