loopback/lib/middleware/middleware.js

26 lines
439 B
JavaScript

/**
* Module dependencies.
*/
var ModuleLoader = require('asteroid-module-loader');
/**
* Export the middleware.
*/
module.exports = middleware;
/**
* Load application modules based on the current directories configuration files.
*/
function middleware() {
var modules = this.modules;
return function executeAsteroidMiddleware(req, res, next) {
// TODO implement asteroid specific middleware stack
next();
}
}