host 변경

This commit is contained in:
dsyoon
2025-08-18 15:48:24 +09:00
parent 09b50ea4cb
commit f3355d8b69
3 changed files with 266 additions and 260 deletions

View File

@@ -5,6 +5,9 @@ export default defineConfig({
plugins: [react()],
envPrefix: ['VITE_', 'OPENAI_'],
server: {
host: '0.0.0.0',
port: 5173,
allowedHosts: ['ncue.net'],
// SPA 라우팅 경로(/tools, /lecture 등)와 충돌을 피하기 위해 API 프록시 경로를 '/api' 계열로만 사용합니다.
// 현재 프론트엔드는 절대 경로(http://localhost:8010/...)를 사용하므로 실제로는 프록시가 필요 없습니다.
proxy: {
@@ -16,4 +19,4 @@ export default defineConfig({
// }
}
}
});
});