Fix using req instead of res
How did I miss this?
This commit is contained in:
parent
b7bed2957b
commit
e23dde6a98
1 changed files with 1 additions and 1 deletions
2
EUS.js
2
EUS.js
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue