调整接口走代理

This commit is contained in:
chong.yanning@ebiz-digits.com
2025-10-30 15:48:01 +08:00
parent e374b00d7c
commit 47a2e15e5a
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ module.exports = {
https: false,
proxy: {
'/api': {
target: 'http://127.0.0.1:7100',
target: 'https://ecotest.happyinsurance.com.cn:4443/api',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
},