Added projects to user management
[osm/UI.git] / skyquake / skyquake.js
index 2396e1a..685f049 100644 (file)
@@ -1,3 +1,5 @@
+
+
 /*
  *
  *   Copyright 2016 RIFT.IO Inc
@@ -272,6 +274,13 @@ if (cluster.isMaster && clusteredLaunch) {
                app.get('/multiplex-client', function(req, res) {
                        res.sendFile(__dirname + '/node_modules/websocket-multiplex/multiplex_client.js');
                });
+
+               // handle requests for gzip'd files
+           app.get('*gzip*', function (req, res, next) {
+                       res.set('Content-Encoding', 'gzip');
+                       next();
+           });
+
        }
 
        /**