Compare commits

..

No commits in common. "dev" and "main" have entirely different histories.
dev ... main

1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,7 @@ export default defineConfig(({ mode, command }) => {
proxy: { proxy: {
// https://cn.vitejs.dev/config/#server-proxy // https://cn.vitejs.dev/config/#server-proxy
'/dev-api': { '/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, changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '') rewrite: (p) => p.replace(/^\/dev-api/, '')
} }