This commit is contained in:
cxc
2022-10-14 09:34:43 +08:00
parent ac802a9ef9
commit 656b6ef510
3 changed files with 216 additions and 10 deletions

View File

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