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',
     //api地址前缀
     proxy: {
+      '/api/servicezhwl': {
+        target: 'http://127.0.0.1:7002',
+      },
       '/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,
         ws: true,
       },