From: Steinar H. Gunderson Date: Sun, 20 Nov 2016 17:10:44 +0000 (+0100) Subject: Actually remove the internal information from the JSON we send out. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=61f5cbdf1fbb903ff6fe800ff44afa2c1fa1b83f;hp=269776b172ada8c902a65780353ec8fe2c1e4ff8 Actually remove the internal information from the JSON we send out. --- diff --git a/server/serve-analysis.js b/server/serve-analysis.js index ca9047f..ed11e10 100644 --- a/server/serve-analysis.js +++ b/server/serve-analysis.js @@ -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 = {