filesafe/controllers/middlewares
Bobby Wibowo 76a73b7e83
refactor: ServeStatic.middleware -> .handler
also moved it from middlewares to handlers directory

reasoning is that this class is better suited to handle routes directly
instead of being a global middleware
since IO stat to check if request path matches a physical file in the
disk every single time is not very performant
2022-07-22 01:12:35 +07:00
..
expressCompat.js feat: custom livedirectory middleware 2022-07-21 21:13:46 +07:00
nunjucksRenderer.js feat: have res.render return the compiled html 2022-07-12 10:41:58 +07:00
rateLimiter.js refactor: rateLimiter.js 2022-07-22 00:57:57 +07:00
serveLiveDirectory.js feat: custom pages use ServeLiveDirectory 2022-07-22 01:09:17 +07:00