Whats Wrong with This Middleware? #11357
Unanswered
Qodestackr
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Code:
The Routes:
Context: I debugged too much. Code works in Local but fails in Vercel's builds. Deleting this and accessing sessions in pages worked.. But I wish I could still understand what was wrong.
This worked:
Any Guidelines on if middlewares are recommended and any practices to follow along?
Beta Was this translation helpful? Give feedback.
All reactions