From e23dde6a98ea490b9f37e29a43ea09746f402988 Mon Sep 17 00:00:00 2001 From: tgpethan Date: Mon, 30 Mar 2020 11:52:44 +0100 Subject: [PATCH] Fix using req instead of res How did I miss this? --- EUS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EUS.js b/EUS.js index 8eb2609..228ca95 100644 --- a/EUS.js +++ b/EUS.js @@ -123,7 +123,7 @@ module.exports = { // Make sure the endpoint is /upload // If it isn't upload send an empty response - if (req.url != "/upload") return req.end(""); + if (req.url != "/upload") return res.end(""); // Get time at the start of upload d = new Date(); startTime = d.getTime();