From f789098e9fcfdcaf18d31739652885a4782f3bd3 Mon Sep 17 00:00:00 2001 From: balibabu Date: Wed, 11 Sep 2024 15:17:52 +0800 Subject: [PATCH] feat: Proxy the api address to the local nginx address #2350 (#2366) ### What problem does this PR solve? feat: Proxy the api address to the local nginx address #2350 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- web/.umirc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/.umirc.ts b/web/.umirc.ts index f01461460..e569a3ad3 100644 --- a/web/.umirc.ts +++ b/web/.umirc.ts @@ -30,7 +30,7 @@ export default defineConfig({ copy: ['src/conf.json'], proxy: { '/v1': { - target: 'http://localhost:9380/', + target: 'http://127.0.0.1:9456/', changeOrigin: true, ws: true, logger: console,