From 1e2d621e9b60577e59f8ae65ed07ae995a9fba9f Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 12 Nov 2023 10:44:50 +0100 Subject: changes: Don't send file contents uselessly --- modules/changes/changes.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/changes') diff --git a/modules/changes/changes.js b/modules/changes/changes.js index 1e61843..8182815 100644 --- a/modules/changes/changes.js +++ b/modules/changes/changes.js @@ -338,7 +338,15 @@ module.exports=function(app,io,_moddir){ res.send("URL not found in watch list"); return; } - res.json(urls[url]); + var res=new Array(urls.length); + for(var i=0;i