fix:修改转发配置

This commit is contained in:
wuyx
2023-02-23 09:48:18 +08:00
parent e13d83e0e8
commit 2c5945bfc7

View File

@@ -15,8 +15,7 @@ module.exports = defineConfig({
port: 8070, port: 8070,
proxy: { proxy: {
"/manageApi": { "/manageApi": {
// target: 'http:' + process.env.VUE_APP_PROXY_URL, target: 'http:' + process.env.VUE_APP_PROXY_URL,
target: 'http://localhost:30001',
changeOrigin: true, //表示是否改变原域名 changeOrigin: true, //表示是否改变原域名
pathRewrite: { pathRewrite: {
"^/manageApi": "", "^/manageApi": "",