Ver código fonte

修改定向包开放逻辑

shenwu 2 anos atrás
pai
commit
b17d4c7c8b
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      config/proxy.ts

+ 2 - 2
config/proxy.ts

@@ -10,8 +10,8 @@
  export default {
   dev: {
     '/api/': {
-      target: 'http://api.zanxiangwl.com/api',
-      // target: 'http://api.zanxiangwl.com',
+      // target: 'http://test.api.zanxiangwl.com/api',
+      target: 'http://api.zanxiangwl.com',
       changeOrigin: true,
       pathRewrite: { '/api': '' },
     },