Ver Fonte

:zap: 切换api地址为本地

smallchill há 6 anos atrás
pai
commit
ed5baff872
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

@@ -26,9 +26,9 @@ module.exports = {
     proxy: {
       '/api': {
         //本地服务接口地址
-        //target: 'http://localhost',
+        target: 'http://localhost',
         //远程演示服务地址
-        target: 'https://saber.bladex.vip/api',
+        //target: 'https://saber.bladex.vip/api',
         ws: true,
         pathRewrite: {
           '^/api': '/'