X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fserve-analysis.js;h=948ea967c643b5fec2eddd67d02be9606b14f0fe;hp=cfc5f15e40f4395dfc98d910068b0d9ef6c699de;hb=9386e66cca3bbde38e9d59941a3b3cd1ed736913;hpb=778e663fc0fd4657d78c8a6d27ea14e120cfb025 diff --git a/www/serve-analysis.js b/www/serve-analysis.js index cfc5f15..948ea96 100644 --- a/www/serve-analysis.js +++ b/www/serve-analysis.js @@ -180,9 +180,9 @@ var send_json = function(response, ims, accept_gzip, num_viewers) { var headers = { 'Content-Type': 'text/json', - 'X-Remoteglot-Last-Modified': this_json.last_modified, - 'X-Remoteglot-Num-Viewers': num_viewers, - 'Access-Control-Expose-Headers': 'X-Remoteglot-Last-Modified, X-Remoteglot-Num-Viewers', + 'X-RGLM': this_json.last_modified, + 'X-RGNV': num_viewers, + 'Access-Control-Expose-Headers': 'X-RGLM, X-RGNV', 'Vary': 'Accept-Encoding', };