邹畅 3 years ago
parent
commit
68e6d52017
1 changed files with 2 additions and 1 deletions
  1. 3
      vue.config.js

3
vue.config.js

@ -36,7 +36,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://127.0.0.1:8501/`,
// target: `http://127.0.0.1:8501/`,
target: `http://47.104.146.186:8501/`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save