From d7426d86d5575992f22a87c070d71d2d85e61a25 Mon Sep 17 00:00:00 2001 From: balibabu Date: Wed, 24 Jul 2024 18:27:03 +0800 Subject: [PATCH] fix: Fixed an issue where the project could not be built #1306 (#1693) ### What problem does this PR solve? fix: Fixed an issue where the project could not be built #1306 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/.umirc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/.umirc.ts b/web/.umirc.ts index db0fab9b0..b30d25d7d 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,