mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
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:
parent
ff15757685
commit
37a1338d81
@ -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}"
|
||||
}
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user