Skip to content

Commit

Permalink
refactor: 优化 dev server ip监听 (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
winixt authored Aug 15, 2024
1 parent 5f305e5 commit d2909d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fes-utils/src/getHostName.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default (userHost) => process.env.HOST || userHost || 'localhost';
export default userHost => process.env.HOST || userHost || '0.0.0.0';

0 comments on commit d2909d4

Please sign in to comment.