refactor: rename handler/middleware class files

This commit is contained in:
Bobby Wibowo 2022-07-25 07:48:31 +07:00
parent 8f46925352
commit b9a1604440
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
6 changed files with 5 additions and 5 deletions

View File

@ -43,13 +43,13 @@ paths.initSync()
const utils = require('./controllers/utilsController')
// Middlewares
const ExpressCompat = require('./controllers/middlewares/expressCompat')
const NunjucksRenderer = require('./controllers/middlewares/nunjucksRenderer')
const RateLimiter = require('./controllers/middlewares/rateLimiter')
const ServeLiveDirectory = require('./controllers/middlewares/serveLiveDirectory')
const ExpressCompat = require('./controllers/middlewares/ExpressCompat')
const NunjucksRenderer = require('./controllers/middlewares/NunjucksRenderer')
const RateLimiter = require('./controllers/middlewares/RateLimiter')
const ServeLiveDirectory = require('./controllers/middlewares/ServeLiveDirectory')
// Handlers
const ServeStatic = require('./controllers/handlers/serveStatic')
const ServeStatic = require('./controllers/handlers/ServeStatic')
// Routes
const album = require('./routes/album')