-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I'm proposing a change in how earls manage httpd settings. Actually it sets only PORT, using default * for hostname (binding all local IPs).
Actually earls use in main():
app.listen(process.env.PORT || 3000);
It could be useful if it's using earls ENV if defined, by example:
EARLS_PORT=3000
EARLS_HOSTNAME="127.0.0.1"
…
…
app.listen(process.env.EARLS_PORT || 3000, process.env.EARLS_HOSTNAME || "" );
…
…
if I'm not mispelling and hostname not define it will use: *:3000 or *:EARLS_PORT
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels