fes.js/packages/fes-utils/src/getHostName.js
2022-03-29 16:25:49 +08:00

2 lines
74 B
JavaScript

export default (userHost) => process.env.HOST || userHost || 'localhost';