瀏覽代碼

修改配置为127.0.0.1

master
1341924763@qq.com 4 天之前
父節點
當前提交
a0854aaec9
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      vue.config.js

+ 3
- 1
vue.config.js 查看文件

@@ -33,7 +33,9 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[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,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''

Loading…
取消
儲存