This commit is contained in:
hzz 2024-11-13 16:11:33 +08:00
parent 9aa2b4be74
commit fdf4bc7025

View File

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