fix agentdownload on agentonly port #3282

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Aug 30, 2024 at 13:17 UTC 4e37455471c05c171a88f0e4016447b18d62f421
1 file changed +3
webserver.js
+3
@@ -6941,6 +6941,9 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
6941
6942 // Setup agent downloads for meshcore updates
6943 obj.agentapp.get(url + 'meshagents', obj.handleMeshAgentRequest);
6944 +
6945 + // Setup agent file downloads
6946 + obj.agentapp.get(url + 'agentdownload.ashx', handleAgentDownloadFile);
6947 }
6948
6949 // Setup web relay on this web server if needed