增加了注释

This commit is contained in:
jiangs 2026-03-24 11:22:36 +08:00
parent da40033541
commit e4a14da940

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