]> git.sesse.net Git - remoteglot/blobdiff - www/serve-analysis.js
Bump version to 2015062104.
[remoteglot] / www / serve-analysis.js
index a5713e2d3059ac96df29d4baa2bfd2e4a57d598c..e45e34f3d3e781e07506bc0f861233e0102569f8 100644 (file)
@@ -13,7 +13,7 @@ var delta = require('./js/json_delta.js');
 // Constants.
 var JSON_FILENAME = '/srv/analysis.sesse.net/www/analysis.json';
 var HISTORY_TO_KEEP = 5;
 // Constants.
 var JSON_FILENAME = '/srv/analysis.sesse.net/www/analysis.json';
 var HISTORY_TO_KEEP = 5;
-var MINIMUM_VERSION = null;
+var MINIMUM_VERSION = 2015062104;
 
 // If set to 1, we are already processing a JSON update and should not
 // start a new one. If set to 2, we are _also_ having one in the queue.
 
 // If set to 1, we are already processing a JSON update and should not
 // start a new one. If set to 2, we are _also_ having one in the queue.
@@ -183,7 +183,7 @@ var send_json = function(response, ims, accept_gzip, num_viewers) {
                'Content-Type': 'text/json',
                'X-RGLM': this_json.last_modified,
                'X-RGNV': num_viewers,
                'Content-Type': 'text/json',
                'X-RGLM': this_json.last_modified,
                'X-RGNV': num_viewers,
-               'Access-Control-Expose-Headers': 'X-RGLM, X-RGNV',
+               'Access-Control-Expose-Headers': 'X-RGLM, X-RGNV, X-RGMV',
                'Vary': 'Accept-Encoding',
        };
 
                'Vary': 'Accept-Encoding',
        };