fix: prediction proxy target을 nginx 경유로 변경

로컬 dev에서 192.168.1.18(redis-211 내부 IP) 직접 접근 불가 → timeout.
kcg.gc-si.dev nginx 경유로 변경하여 정상 동작.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
htlee 2026-04-04 09:19:37 +09:00
부모 1033654c82
커밋 e7ed536be5

파일 보기

@ -125,9 +125,9 @@ export default defineConfig(({ mode }): UserConfig => ({
secure: true, secure: true,
}, },
'/api/prediction/': { '/api/prediction/': {
target: 'http://192.168.1.18:8001', target: 'https://kcg.gc-si.dev',
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api\/prediction/, '/api'), secure: true,
}, },
'/ollama': { '/ollama': {
target: 'http://localhost:11434', target: 'http://localhost:11434',