refactor: 优化 dev server ip监听

This commit is contained in:
winixt 2024-08-14 21:25:31 +08:00
parent ed561d7e3c
commit 6b0f4c2edc

View File

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