Lint and fix
This commit is contained in:
1 parent
c0b37e0e1b
commit
fe53243372
2 files changed
+4
-6
No files matched your search
@@ -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
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user