loopback/lib/middleware/middleware.js

26 lines
439 B
JavaScript
Raw Normal View History

2013-04-09 16:02:36 +00:00
/**
* Module dependencies.
*/
2013-04-20 00:50:48 +00:00
var ModuleLoader = require('asteroid-module-loader');
2013-04-09 16:02:36 +00:00
/**
* 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();
}
}