瀏覽代碼

modified: vue.config.js

asd123a20 2 年之前
父節點
當前提交
a373fb38a6
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      vue.config.js

+ 3 - 3
vue.config.js

@@ -38,15 +38,15 @@ module.exports = {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
         // target: `http://fuyu.scapp.cn/prod-api/`,
-        target: `http://192.168.0.71:8080`, 
+        target: `https://fuyu.cc-lotus.info`, 
         // target: `http://172.17.116.208:8080`,
         changeOrigin: true,
         pathRewrite: {
-          ['^' + process.env.VUE_APP_BASE_API]: ''
+          ['^' + process.env.VUE_APP_BASE_API]: '/prod-api/'
         }
       },
       '/dw': {
-        target: `http://fuyu.scapp.cn/`,
+        target: `https://fuyu.cc-lotus.info/`,
         changeOrigin: true,
       },
     },