bug fixed

This commit is contained in:
cxc
2022-09-27 13:32:46 +08:00
parent ab0b5f9011
commit 5592d9f40c
6 changed files with 428 additions and 8 deletions

View File

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