diff --git a/vite.config.ts b/vite.config.ts index cfb2f12..9246a53 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -47,8 +47,9 @@ export default defineConfig(({ mode, command }) => { open: false, proxy: { // https://cn.vitejs.dev/config/#server-proxy - '/dev-api': { - target: 'http://47.97.125.165:8905', + "/dev-api": { + target: "http://47.97.125.165:8905", + //target: "http://localhost:9802", changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, ""), },