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

+ 4 - 1
vue.config.js

@@ -25,8 +25,11 @@ module.exports = {
     port: '7001',
     port: '7001',
     //api地址前缀
     //api地址前缀
     proxy: {
     proxy: {
+      '/api/servicezhwl': {
+        target: 'http://127.0.0.1:7002',
+      },
       '/api/role/auth': {
       '/api/role/auth': {
-        target: 'http://127.0.0.1:7002', //http://free.liaoningdoupo.com
+        target: 'http://free.liaoningdoupo.com', //http://free.liaoningdoupo.com
         changeOrigin: true,
         changeOrigin: true,
         ws: true,
         ws: true,
       },
       },