MCPcopy
hub / github.com/rendrjs/rendr / initApp.js

File initApp.js

server/middleware/initApp.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * We add `req.rendrApp` so any middleware can access the Rendr
3 * app. We need to inject it into views, models, etc., in order
4 * to provide user-specific functionality, such as sessions.

Callers

nothing calls this directly

Calls 2

getAppAttributesFunction · 0.85
nextFunction · 0.85

Tested by

no test coverage detected