dev_xd
姜玉琦 2025-06-30 11:31:00 +08:00
commit 57d80dd7cd
1 changed files with 1 additions and 2 deletions

View File

@ -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/, ""),
},