diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 3b49529..6ae3f77 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -125,9 +125,9 @@ export default defineConfig(({ mode }): UserConfig => ({ secure: true, }, '/api/prediction/': { - target: 'http://192.168.1.18:8001', + target: 'https://kcg.gc-si.dev', changeOrigin: true, - rewrite: (path) => path.replace(/^\/api\/prediction/, '/api'), + secure: true, }, '/ollama': { target: 'http://localhost:11434',