Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: Fixed an issue where the project could not be built #1306 (#1693)

balibabud7426d86d557
diff --git a/web/.umirc.ts b/web/.umirc.ts
index db0fab9b00..b30d25d7d1 100644
--- a/web/.umirc.ts
+++ b/web/.umirc.ts
@@ -20,7 +20,7 @@ export default defineConfig({
},
plugins: ['@react-dev-inspector/umi4-plugin', '@umijs/plugins/dist/dva'],
dva: {},
-
+ jsMinifier: 'terser',
lessLoader: {
modifyVars: {
hack: `true; @import "~@/less/index.less";`,
@@ -30,7 +30,7 @@ export default defineConfig({
copy: ['src/conf.json'],
proxy: {
'/v1': {
- target: '',
+ target: 'http://localhost:9380/',
changeOrigin: true,
ws: true,
logger: console,