Browse Source

'图片代理修改'

zhangyu 4 years ago
parent
commit
57b1ee375e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      vue.config.js

+ 3 - 0
vue.config.js

@@ -34,6 +34,9 @@ module.exports = {
                 target: "http://api.sagacloud.cn",
                 changeOrigin: true,
                 secure: false,
+                pathRewrite: {
+                    "^/image-service": "/dp-auxiliary/image-service/",
+                },
             },
         },
         // 关闭esline