chore(lps-admin): 폴더명 lps-temp-fe → lps-admin
임시 FE 가 정식 관리자 콘솔이 되어 이름을 용도에 맞게 변경. 루트 병렬 유지(lps/ 는 파이썬 백엔드 루트라 중첩 시 비대칭 + Docker 빌드 컨텍스트 오염). package.json name 동기화. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6eb71eb035
commit
992a3246a8
21 files changed
+1
-1
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
// dev 서버는 /v1·/healthz·/readyz 를 LPS API(:9600)로 프록시한다 — CORS 설정 불필요.
|
||||
// 다른 API 호스트를 보려면 VITE_LPS_URL 로 대상 변경(또는 앱 내 설정에서 base URL 지정).
|
||||
const target = process.env.VITE_LPS_URL || "http://localhost:9600";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react(), tailwindcss()],
|
||||
server: {
|
||||
port: 5174,
|
||||
proxy: {
|
||||
"/v1": { target, changeOrigin: true },
|
||||
"/healthz": { target, changeOrigin: true },
|
||||
"/readyz": { target, changeOrigin: true },
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user