better handling for heroku dynamic port

This commit is contained in:
Jeff Nelson
2017-08-25 08:51:36 -04:00
parent e73c113e0d
commit faecd80543
+1 -1
View File
@@ -80,7 +80,7 @@ const CONFIG = {
//------------------------------------------------------------------------------
// Port to bind to.
PORT: process.env.TALK_PORT || '3000',
PORT: process.env.TALK_PORT || || process.env.PORT || '3000',
// The URL for this Talk Instance as viewable from the outside.
ROOT_URL: process.env.TALK_ROOT_URL || null,