From 65fcc3119c334b75dd13bcfdebf186afdc580a8f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 15 May 2017 22:22:03 +0200 Subject: First typescript iteration --- server/middlewares/index.js | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 server/middlewares/index.js (limited to 'server/middlewares/index.js') diff --git a/server/middlewares/index.js b/server/middlewares/index.js deleted file mode 100644 index 3f253e31b..000000000 --- a/server/middlewares/index.js +++ /dev/null @@ -1,25 +0,0 @@ -'use strict' - -const adminMiddleware = require('./admin') -const oauthMiddleware = require('./oauth') -const paginationMiddleware = require('./pagination') -const podsMiddleware = require('./pods') -const validatorsMiddleware = require('./validators') -const searchMiddleware = require('./search') -const sortMiddleware = require('./sort') -const secureMiddleware = require('./secure') - -const middlewares = { - admin: adminMiddleware, - oauth: oauthMiddleware, - pagination: paginationMiddleware, - pods: podsMiddleware, - search: searchMiddleware, - secure: secureMiddleware, - sort: sortMiddleware, - validators: validatorsMiddleware -} - -// --------------------------------------------------------------------------- - -module.exports = middlewares -- cgit v1.2.3