X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;h=0f56b5b206dbc4b7d69d549f8a0f44827d978f90;hb=c9abc8e62cc7ff5e71b16478d4561102fcc76fc6;hp=3c85e672e0a66b57bebc8e1a79b1b2f798dc9735;hpb=70bc196b94f2959ea9726f62019e5f0caa696eab;p=remoteglot diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 3c85e67..0f56b5b 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -135,8 +135,8 @@ var request_update = function() { url: "/analysis.pl?ims=" + ims + "&unique=" + unique }).done(function(data, textstatus, xhr) { sync_server_clock(xhr.getResponseHeader('Date')); - ims = xhr.getResponseHeader('X-Remoteglot-Last-Modified'); - var num_viewers = xhr.getResponseHeader('X-Remoteglot-Num-Viewers'); + ims = xhr.getResponseHeader('X-RGLM'); + var num_viewers = xhr.getResponseHeader('X-RGNV'); possibly_play_sound(current_analysis_data, data); if (Array.isArray(data)) { current_analysis_data = JSON_delta.patch(current_analysis_data, data);