Browse Source

修改 开发代理

yuwandanmian 1 year ago
parent
commit
6e94002e90
1 changed files with 12 additions and 4 deletions
  1. 12 4
      vue.config.js

+ 12 - 4
vue.config.js

@@ -40,18 +40,26 @@ module.exports = {
     },
     proxy: {
       '/api': {
-        target: ' http://10.10.11.65:8081/',
-        // target: 'http://qualityweb.jiankangche.cn:8081/',
+        // 医院开发
+        // target: ' http://10.10.11.65:8081/',
+        // 外网开发
+        target: 'http://182.43.50.128:8081/',
         ws: true,
         changeOrigin: true, //是否跨域
       },
       '/bazb': {
-        target: ' http://10.10.11.65:8081/',
+        // 医院开发
+        // target: ' http://10.10.11.65:8081/',
+        // 外网开发
+        target: 'http://182.43.50.128:8081/',
         ws: true,
         changeOrigin: true, //是否跨域
       },
       '/bass': {
-        target: ' http://10.10.11.65:8081/',
+        // 医院开发
+        // target: ' http://10.10.11.65:8081/',
+        // 外网开发
+        target: 'http://182.43.50.128:8081/',
         ws: true,
         changeOrigin: true, //是否跨域
       }