From: Steinar H. Gunderson Date: Wed, 12 Jul 2023 16:13:26 +0000 (+0200) Subject: Fix the clock targeting when using inline JSON. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=af0352e2c94b6a8257528921e17e1db0e60a0cc5 Fix the clock targeting when using inline JSON. --- diff --git a/server/serve-analysis.js b/server/serve-analysis.js index 0008cd7..8448cfa 100644 --- a/server/serve-analysis.js +++ b/server/serve-analysis.js @@ -201,6 +201,7 @@ var reread_file = function(event, filename) { var json_headers = { 'X-RGLM': mtime, 'X-RGNV': count_viewers(), // May be slightly out of date. + 'Date': (new Date).toUTCString(), }; if (MINIMUM_VERSION) { json_headers['X-RGMV'] = MINIMUM_VERSION;