xgwangman 4 年之前
父节点
当前提交
3593a0921c
共有 1 个文件被更改,包括 5 次插入10 次删除
  1. 5 10
      jydocs-mobile/vue.config.js

+ 5 - 10
jydocs-mobile/vue.config.js

@@ -45,16 +45,14 @@ module.exports = {
     open: false,
     disableHostCheck: true,
     proxy: {
-      '^/dev/api': {
-        target: 'http://web2-jytest.jydev.jianyu360.com',
+      '^/jydocs': {
+        target: 'https://web2-jytest.jydev.jianyu360.com',
         // target: 'http://192.168.20.180:821',
         changeOrigin: true,
-        logLevel: 'debug',
-        pathRewrite: {
-          '^/dev/api': '/jydocs'
-        }
+        logLevel: 'debug'
       },
       '^/jypay': {
+        // target: 'https://web2-jytest.jydev.jianyu360.com',
         target: 'http://192.168.20.145:86',
         changeOrigin: true,
         logLevel: 'debug'
@@ -63,10 +61,7 @@ module.exports = {
         target: 'http://web2-jytest.jydev.jianyu360.com',
         // target: 'http://192.168.20.145:820',
         changeOrigin: true,
-        logLevel: 'debug',
-        pathRewrite: {
-          '^/jyintegral': '/jyintegral'
-        }
+        logLevel: 'debug'
       }
     }
   },