配置Vite监听所有接口
This commit is contained in:
parent
d242217686
commit
c9e8dd286a
@ -73,6 +73,7 @@ export default env => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
|
host: '0.0.0.0', // listen on all interfaces so LAN IP works
|
||||||
port: 3001,
|
port: 3001,
|
||||||
open: true,
|
open: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user