This commit is contained in:
lpq
2023-02-24 21:35:13 +08:00
parent 33411ed1e1
commit 85eeceff3d
2 changed files with 3 additions and 2 deletions

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": "",