1
This commit is contained in:
parent
4f77b2c60e
commit
1f5b5533d5
@ -40,8 +40,8 @@ export default defineConfig(({
|
||||
proxy: {
|
||||
// https://cn.vitejs.dev/config/#server-proxy
|
||||
'/dev-api': {
|
||||
target: 'http://localhost:9801',
|
||||
//target: 'http://47.97.125.165:8904',
|
||||
//target: 'http://localhost:9801',
|
||||
target: 'http://47.97.125.165:8904',
|
||||
// target: 'http://192.168.1.114:9801',
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user