xiaozy
xiaozhiyong 2 years ago
parent 791d9f13ec
commit 357941cab1
  1. 4
      vue.config.js

@ -17,8 +17,8 @@ module.exports = defineConfig({
proxy: {
[process.env.VUE_APP_BASE_API]: {
// target: `http://192.168.1.83:38080`,
target: `https://www.xingoil.com/adminapi`,
// target: `http://uat.xingoil.com/adminapi`,
// target: `https://www.xingoil.com/adminapi`,
target: `http://uat.xingoil.com/adminapi`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save