chore: don't call next on async middleware

you're not supposed to do that, lmao
This commit is contained in:
Bobby Wibowo 2022-07-12 08:04:50 +07:00
parent 1727499bb1
commit eb4057d10c
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -109,8 +109,6 @@ class ServeStatic {
logger.log(`ServeStatic.middleware(): ${this.directory}, ${req.path}`)
// TODO
return next()
}
get middleware () {