mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
better handling for heroku dynamic port
This commit is contained in:
@@ -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