diff --git a/yanzhu-ui-vue3/vite.config.js b/yanzhu-ui-vue3/vite.config.js index 590989de..3ac37737 100644 --- a/yanzhu-ui-vue3/vite.config.js +++ b/yanzhu-ui-vue3/vite.config.js @@ -39,8 +39,7 @@ export default defineConfig(({ mode, command }) => { }, // https://cn.vitejs.dev/config/#server-proxy "/dev-api": { - //target: "http://localhost:8080", - target: "http://62.234.3.186/prod-api/", + target: "http://localhost:8080", changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, ""), },