You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 10, 2021. It is now read-only.
Expose event + context of Netlify Functions on the req object
When a page is being SSR-ed by a Netlify Function, allow users to access
the function's event and context parameters. These can be accessed as
a property on the `req` object in all SSR-ed pages and in API routes:
- req.netlifyFunction.event
- req.netlifyFunction.context
This allows users to access/leverage Netlify identity for their Next.js
page.
See: #20
It also allows users to modify the callbackWaitsForEmptyEventLoop
behavior.
See: #66 (comment))
0 commit comments