]> git.sesse.net Git - remoteglot/commitdiff
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 ca9047f3df1767bf188ebbdd529b5dd8eb2ba997..ed11e10a06edd810bc6d09cd99963c2fc615efbb 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 = {