瀏覽代碼

fix: 统一配置文件,方便集中修改

xyh 5 月之前
父節點
當前提交
2a74ff5029
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vue.config.js

+ 1 - 1
vue.config.js

@@ -34,7 +34,7 @@ module.exports = {
     open: true,
     proxy: {
       '/profile/upload': {
-        target:  'https://test.baoxianzhanggui.com/nightFragrance',
+        target:   process.env.VUE_APP_BASE_API,
         changeOrigin: true,
         pathRewrite:{
           ['^/profile/upload']: '/profile/upload',