Explorar el Código

修改定向包开放逻辑

shenwu hace 2 años
padre
commit
b17d4c7c8b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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': '' },
     },