Added 0.0.0.0 to Deployment Configuration Doc

There was a problem in Heroku when using the default "localhost". We must change it to "0.0.0.0". We can help others by adding this to the documentation so they don't have to invest much time to find the solution like me.

Signed-off-by: António Santos <toi.santos@gmail.com>
This commit is contained in:
António Santos 2020-04-01 09:22:04 +01:00 committed by Alexandre BODIN
parent ff15757685
commit 37a1338d81

View File

@ -16,7 +16,7 @@ Update the `production` settings with the IP or domain name where the project wi
```js
{
"host": "domain.io", // IP or domain
"host": "domain.io", // IP or domain or 0.0.0.0
"port": 1337
}
```
@ -30,7 +30,7 @@ If you are passing a number of configuration item values via environment variabl
```js
{
"host": "${process.env.APP_HOST || '127.0.0.1'}",
"host": "${process.env.APP_HOST || '0.0.0.0'}",
"port": "${process.env.NODE_PORT || 1337}"
}
```