zhoulisky hace 9 meses
padre
commit
3ea28bd26c
Se han modificado 1 ficheros con 9 adiciones y 4 borrados
  1. 9 4
      vue.config.js

+ 9 - 4
vue.config.js

@@ -27,14 +27,19 @@ module.exports = {
     proxy: {
       '/api': {
         //本地服务接口地址
-        // target: 'http://h6a5d694.natappfree.cc',
-        target: 'http://g4588a96.natappfree.cc',
-        //远程演示服务地址,可用于直接启动项目
-        // target: 'https://saber.bladex.cn/api',
+        target: 'http://localhost:8000', 
         ws: true,
         pathRewrite: {
           '^/api': '/'
         }
+      },
+      '/oss': {
+        //本地服务接口地址
+        target: 'http://116.62.106.199:9000', 
+        ws: true,
+        pathRewrite: {
+          '^/oss': '/'
+        }
       }
     }
   },