SyntaxFix
Write A Post
Hire A Developer
Questions
Use req.app, req.app.get('somekey')
req.app
req.app.get('somekey')
The application variable created by calling express() is set on the request and response objects.
express()
See: https://github.com/visionmedia/express/blob/76147c78a15904d4e4e469095a29d1bec9775ab6/lib/express.js#L34-L35