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

2
EUS.js
View file

@ -123,7 +123,7 @@ module.exports = {
// Make sure the endpoint is /upload // Make sure the endpoint is /upload
// If it isn't upload send an empty response // 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 // Get time at the start of upload
d = new Date(); startTime = d.getTime(); d = new Date(); startTime = d.getTime();