From 8801143861402cc5d078b37d847b6f8ccf75e3e2 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Tue, 27 Oct 2020 19:55:00 +0200 Subject: [PATCH] Fix local attachments --- src/modules/webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/webserver.js b/src/modules/webserver.js index 0462e7b..ab43b0e 100644 --- a/src/modules/webserver.js +++ b/src/modules/webserver.js @@ -58,7 +58,7 @@ const server = express(); server.use(helmet()); server.get("/logs/:threadId", serveLogs); -server.get("/logs/:attachmentId/:filename", serveAttachments); +server.get("/attachments/:attachmentId/:filename", serveAttachments); server.on("error", err => { console.log("[WARN] Web server error:", err.message);