Skip to content

Commit

Permalink
🔧 change host to 0.0.0.0 for production and staging
Browse files Browse the repository at this point in the history
as per note from DMehaffy and strapi/strapi#5486
  • Loading branch information
nabeelvalley committed Mar 31, 2020
1 parent f22e752 commit f5008e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/config/environments/production/server.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"host": "localhost",
"host": "0.0.0.0",
"port": "${process.env.PORT || 3001}",
"production": true,
"proxy": {
Expand Down
2 changes: 1 addition & 1 deletion backend/config/environments/staging/server.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"host": "localhost",
"host": "0.0.0.0",
"port": "${process.env.PORT || 3001}",
"production": true,
"proxy": {
Expand Down

0 comments on commit f5008e5

Please sign in to comment.