filesafe/controllers/handlers
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
..
serveStatic.js refactor: ServeStatic.middleware -> .handler 2022-07-22 01:12:35 +07:00