mirror of
https://github.com/wassname/talk.git
synced 2026-10-03 13:02:47 +08:00
Merge branch 'master' into status-history
This commit is contained in:
commit
d2d4640eee
25 files changed
+632
-164
No files matched your search
+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