update
This commit is contained in:
parent
9aa2b4be74
commit
fdf4bc7025
@ -31,7 +31,8 @@ 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://8.130.165.100:9015/',
|
// target: 'http://192.168.110.197:9015/',
|
||||||
|
target: 'http://8.141.87.86:9015',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user