fix: header 切换缓存逻辑补充

This commit is contained in:
xuziqiang
2024-06-17 13:48:27 +08:00
parent bc80a22180
commit 91dd7a7d0c
4 changed files with 25 additions and 21 deletions

View File

@@ -12,7 +12,7 @@ const proxy = {
changeOrigin: true,
},
'/carbon-smart': {
target: 'http://192.168.112.144:8224',
target: 'http://123.60.103.97:8224',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/carbon-smart/, ''),
},