diff --git a/controllers/handlers/serveStatic.js b/controllers/handlers/ServeStatic.js similarity index 100% rename from controllers/handlers/serveStatic.js rename to controllers/handlers/ServeStatic.js diff --git a/controllers/middlewares/expressCompat.js b/controllers/middlewares/ExpressCompat.js similarity index 100% rename from controllers/middlewares/expressCompat.js rename to controllers/middlewares/ExpressCompat.js diff --git a/controllers/middlewares/nunjucksRenderer.js b/controllers/middlewares/NunjucksRenderer.js similarity index 100% rename from controllers/middlewares/nunjucksRenderer.js rename to controllers/middlewares/NunjucksRenderer.js diff --git a/controllers/middlewares/rateLimiter.js b/controllers/middlewares/RateLimiter.js similarity index 100% rename from controllers/middlewares/rateLimiter.js rename to controllers/middlewares/RateLimiter.js diff --git a/controllers/middlewares/serveLiveDirectory.js b/controllers/middlewares/ServeLiveDirectory.js similarity index 100% rename from controllers/middlewares/serveLiveDirectory.js rename to controllers/middlewares/ServeLiveDirectory.js diff --git a/lolisafe.js b/lolisafe.js index 961dfdb..8a2bfba 100644 --- a/lolisafe.js +++ b/lolisafe.js @@ -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')