From: Steinar H. Gunderson Date: Sun, 21 Jun 2015 14:21:42 +0000 (+0200) Subject: Bump version to 2015062104. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=3797e272b3764680e81afaa1744fabca3314d9c9;ds=sidebyside Bump version to 2015062104. --- diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 6844428..be53c97 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -7,7 +7,7 @@ * @type {Number} * @const * @private */ -var SCRIPT_VERSION = 2015062103; +var SCRIPT_VERSION = 2015062104; /** @type {window.ChessBoard} @private */ var board = null; diff --git a/www/serve-analysis.js b/www/serve-analysis.js index a5713e2..e45e34f 100644 --- a/www/serve-analysis.js +++ b/www/serve-analysis.js @@ -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; -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. @@ -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, - 'Access-Control-Expose-Headers': 'X-RGLM, X-RGNV', + 'Access-Control-Expose-Headers': 'X-RGLM, X-RGNV, X-RGMV', 'Vary': 'Accept-Encoding', };