refactor: 优化 dev server ip监听 (#247)

This commit is contained in:
qlin 2024-08-15 10:28:16 +08:00 committed by GitHub
parent 8b7a41fbb4
commit c1718892e4

View File

@ -1 +1 @@
export default (userHost) => process.env.HOST || userHost || 'localhost';
export default userHost => process.env.HOST || userHost || '0.0.0.0';