Fix using req instead of res

How did I miss this?
This commit is contained in:
tgpethan 2020-03-30 11:52:44 +01:00
parent b7bed2957b
commit e23dde6a98
1 changed files with 1 additions and 1 deletions

2
EUS.js
View File

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