diff --git a/vue.config.js b/vue.config.js index 26253a7e..6723a260 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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": "",