Actually remove the internal information from the JSON we send out.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Nov 2016 17:10:44 +0000 (18:10 +0100)
committerMagne Mæhre <magne@pannekake.samfundet.no>
Sun, 20 Nov 2016 17:10:44 +0000 (18:10 +0100)
server/serve-analysis.js

index ca9047f..ed11e10 100644 (file)
@@ -101,6 +101,7 @@ var replace_json = function(new_json_contents, mtime) {
                        hash_lookup.init(parsed['internal']['grpc_backends']);
                }
                delete parsed['internal'];
+               new_json_contents = JSON.stringify(parsed);
        }
 
        var new_json = {