Version 1.5.0 (2021-08-01)
- [new feature]
The port to which the server binds can now be changed by setting the environment variablePORT
. IfPORT
is not set or is not a valid port number, then the default port 3000 is used.
An example to use port 4000 instead of port 3000 when using GNU Bash or a similar shell would be:
export PORT=4000
npm start
- [new feature]
The hostname which the server shall use can now be changed by setting the environment variableHOST
. IfHOST
is not set, thenlocalhost
will be used as default.