loadContext is not populated when deployed in Vercel #980
Replies: 1 comment 1 reply
-
I'm afraid I don't have time to offer support when changing the stack so significantly. Deploying to vercel means you have to change a LOT about the stack. Sorry! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After enabling the CSP to be enforced I realised that every script was blocked and the warning messages shows nonce being empty. After some digging I realised that loadContext does not get populated correctly when deployed on Vercel. That is why nonce defaults to empty string. Similar issue exists on sitemap.xml page where we use the loadContext again.
Any idea what needs to be changed for Vercel server? They have their own handlerRequest method but dont know how to use that
Beta Was this translation helpful? Give feedback.
All reactions