mirror of
https://github.com/wassname/talk.git
synced 2026-10-29 13:40:57 +08:00
better handling for heroku dynamic port
This commit is contained in:
1 parent
e73c113e0d
commit
faecd80543
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user