-
zhangwei
2 天以前 7a8f1cb7741436c43fc5859707da5041d6648953
vite.config.ts
@@ -27,7 +27,7 @@
      proxy: {
        "/api": {
          // 这里填写后端地址http://114.132.78.38:8096 http://192.168.0.36:5005
          target: "http://114.132.78.38:8096",
          target: "http://192.168.18.52:5005",
          changeOrigin: true,
          rewrite: path => path.replace(/^\/api/, "")
        }