Created
October 25, 2014 23:29
-
-
Save cibernox/fd75a252bba0fb6f826c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
serverMiddleware: function(config) { | |
var app = config.app; | |
console.log('registring middleware...'); | |
app.use('/docs', function(request, response, next) { | |
console.log('docs middleware invoked'); | |
response.send("Hello world"); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment