More header squeezing.
[remoteglot] / www / js / remoteglot.js
index 3c85e67..0f56b5b 100644 (file)
@@ -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);