Lint and fix

This commit is contained in:
Håvar Aambø Fosstveit
2020-03-31 01:31:53 +02:00
parent c0b37e0e1b
commit fe53243372
2 changed files with 4 additions and 6 deletions
+2 -5
View File
@@ -77,11 +77,8 @@ module.exports =
this._queue = new AwaitQueue(); this._queue = new AwaitQueue();
} }
// Array of rooms // rooms: number of rooms
// [ // peers: number of peers
// { roomId : 'example', peers: 5 },
// { roomId : 'example2', peers: 4 }
// ]
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
async log({ rooms, peers }) async log({ rooms, peers })
{ {
+2 -1
View File
@@ -105,7 +105,8 @@ const session = expressSession({
} }
}); });
if (config.trustProxy) { if (config.trustProxy)
{
app.set('trust proxy', config.trustProxy); app.set('trust proxy', config.trustProxy);
} }