配置Vite监听所有接口

This commit is contained in:
bakaECC 2025-12-10 18:06:34 +08:00
parent d242217686
commit c9e8dd286a

View File

@ -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: {