Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

recover vite config

Windfarer082c92af2586
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 6474a4343..42d64dbe5 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -41,12 +41,12 @@ export default defineConfig({
// 代理配置,用于开发环境
proxy: {
'/api': {
- target: 'http://127.0.0.1:8080',
+ target: 'http://localhost:8080',
changeOrigin: true,
secure: false,
},
'/files': {
- target: 'http://127.0.0.1:8080',
+ target: 'http://localhost:8080',
changeOrigin: true,
secure: false,
}