Browse Source

修改配置为127.0.0.1

master
1341924763@qq.com 4 days ago
parent
commit
a0854aaec9
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      vue.config.js

+ 3
- 1
vue.config.js View File

proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://192.168.1.107:8080`,
target: `http://127.0.0.1:8080`,
// target: `http://172.17.0.1:4001`,
// target: `https://digital.sohomall.jp/prod-api`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
Cancel
Save