baoshiwei
2025-05-24 3ad537052477fe31f45bd2e16045d58b35713bdc
zhitan-vue/vite.config.js
@@ -33,12 +33,12 @@
      proxy: {
        // https://cn.vitejs.dev/config/#server-proxy
        "/dev-api": {
          target: "http://localhost:8080",
          target: "http://localhost:8088",
          changeOrigin: true,
          rewrite: (p) => p.replace(/^\/dev-api/, "/"),
        },
        "/prod-api": {
          target: "http://localhost:8080",
          target: "http://localhost:8088",
          changeOrigin: true,
          secure: true,
        },