测试
This commit is contained in:
parent
a5639b87ad
commit
d215f469cc
@ -33,13 +33,15 @@ export default defineConfig(({
|
||||
},
|
||||
// vite 相关配置
|
||||
server: {
|
||||
port: 8888,
|
||||
port: 5173,
|
||||
//port: 8888,
|
||||
host: true,
|
||||
open: false,
|
||||
proxy: {
|
||||
// https://cn.vitejs.dev/config/#server-proxy
|
||||
'/dev-api': {
|
||||
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