mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 07:47:50 +01:00
add comment
This commit is contained in:
@@ -140,7 +140,7 @@ const ServerBootstrapper = {
|
||||
app.use('', router);
|
||||
|
||||
app.use('/dist', (req, res, next) => {
|
||||
if (req.url !== '/521-bundle.js') {
|
||||
if (req.url !== '/521-bundle.js') { // this is the bundled web worker, which was introducing compatibility problems with webpack compression.
|
||||
res.set('Content-Encoding', 'gzip');
|
||||
}
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user