mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Merge branch 'master' into status-history
This commit is contained in:
+2
-1
@@ -17,7 +17,8 @@ const util = require('../util');
|
||||
/**
|
||||
* Get port from environment and store in Express.
|
||||
*/
|
||||
const port = normalizePort(process.env.TALK_PORT || '3000');
|
||||
|
||||
const port = normalizePort(process.env.TALK_PORT || (process.env.NODE_ENV === 'test' ? '3011' : '3000'));
|
||||
|
||||
app.set('port', port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user