관리자부분 추가

This commit is contained in:
김종호 2025-09-19 17:15:52 +09:00
parent f09f9ed3f4
commit e002f009ea

View File

@ -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}`;