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

This commit is contained in:
qlin 2024-08-15 10:28:16 +08:00 committed by GitHub
parent 5f305e53ae
commit d2909d4ebb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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