Update express.js
This commit is contained in:
parent
91d5deabcf
commit
c4e097275c
@ -63,7 +63,7 @@ module.exports = function(db) {
|
||||
|
||||
app.locals.subdomainsDisabled = config.subdomainsDisabled;
|
||||
|
||||
if(config.socketPort && process.env.NODE_ENV !== 'production'){
|
||||
if(config.socketPortExternallyVisible){
|
||||
app.locals.socketPort = config.socketPort;
|
||||
} else {
|
||||
app.locals.socketPort = '';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user