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);