소스 검색

修改配置为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…
취소
저장