This commit is contained in:
wuyy 2026-03-25 18:02:15 +08:00
commit df426d2fa7

View File

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