Compare commits
No commits in common. "dev" and "main" have entirely different histories.
|
@ -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/, '')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue