去掉localhost

This commit is contained in:
zhangyc
2023-02-25 14:31:01 +08:00
parent f04d3e31b4
commit c780e19660

View File

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