]> git.sesse.net Git - remoteglot/blobdiff - www/serve-analysis.js
Do not hardcode the domain; no longer needed since Varnish directs for us.
[remoteglot] / www / serve-analysis.js
index 868363d0926bc9d49fa8a4539fa0b4798d6765e6..100cd4a6f53e4c2340a02bd5d3ce84d65241b2cd 100644 (file)
@@ -108,7 +108,6 @@ var send_json = function(response, accept_gzip, num_viewers) {
                'Content-Type': 'text/json',
                'X-Remoteglot-Last-Modified': json_last_modified,
                'X-Remoteglot-Num-Viewers': num_viewers,
-               'Access-Control-Allow-Origin': 'http://analysis.sesse.net',
                'Access-Control-Expose-Headers': 'X-Remoteglot-Last-Modified, X-Remoteglot-Num-Viewers',
                'Expires': 'Mon, 01 Jan 1970 00:00:00 UTC',
                'Vary': 'Accept-Encoding',