feat: heroku compatibility

This commit is contained in:
Nick committed 2019-06-01 21:38:36 -04:00
1 parent e49cb03882
commit 9f58a08fcb
5 files changed
+9 -24

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ module.exports = {
appconfig = _.defaultsDeep(appconfig, appdata.defaults.config)
if (appconfig.port < 1) {
if (appconfig.port < 1 || process.env.HEROKU) {
appconfig.port = process.env.PORT || 80
}