YuanJian 2025-02-22 13:33:13 +08:00
parent 4d47c81085
commit 403e9f73d5
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
target: 'http://192.168.1.13:9080',
// target: 'http://192.168.1.13:9080',
target: 'http://192.168.50.11:9080',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
}