display current moderator, fix assignment of spectator

This commit is contained in:
AlecM33
2023-04-01 23:49:21 -04:00
parent daf2fe781f
commit a26b405ffa
8 changed files with 75 additions and 35 deletions

View File

@@ -140,7 +140,7 @@ const ServerBootstrapper = {
app.use('', router);
app.use('/dist', (req, res, next) => {
if (req.url !== '/521-bundle.js') { // this is the bundled web worker, which was introducing compatibility problems with webpack compression.
if (req.url.includes('.js.gz')) {
res.set('Content-Encoding', 'gzip');
}
next();