Skip to content

Commit

Permalink
ENV per development e production.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard1984 committed Nov 2, 2018
1 parent d3814f8 commit a048f1b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion server/config/env/env.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"port": 3000,
"MONGODB_URI": "mongodb://localhost:27017/archivio",
"JWT_SECRET": "jwtSecret",
"CORS_WHITELIST": ["http://localhost:8080", "http://xxx.yyy.com"]
"CORS_WHITELIST": ["http://localhost:8080"]
},
"production": {
"port": 3000,
"MONGODB_URI": "mongodb://localhost:27017/archivio",
"JWT_SECRET": "jwtSecret",
"CORS_WHITELIST": ["http://localhost:8080"]
}
}

0 comments on commit a048f1b

Please sign in to comment.