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 has been archived by the owner on Jan 11, 2023. It is now read-only.
I noticed you have access to a req object in the server side Sapper middleware, but I'd love to see access to res.locals, which is where we traditionally store stuff to be rendered to the view. We have several middleware that add information to res.locals as the request travels through our response pipeline.
The text was updated successfully, but these errors were encountered:
Yeah, that sounds like a good idea, thanks. Would you be up for making a pull request? I think it'd just be a case of changing this line (and the associated TypeScript declarations) and augmenting/adapting this test.
I noticed you have access to a req object in the server side Sapper middleware, but I'd love to see access to
res.locals
, which is where we traditionally store stuff to be rendered to the view. We have several middleware that add information tores.locals
as the request travels through our response pipeline.The text was updated successfully, but these errors were encountered: