T
TanStack18h ago
passive-yellow

How to access nonce in Middleware?

How can we access the nonce introduced in https://github.com/TanStack/router/pull/5287 in Middleware .server context, so that we can properly set the CSP header?
GitHub
fix: nonce support by schiller-manuel · Pull Request #5287 · TanS...
Summary by CodeRabbit New Features Added optional nonce support to assets, enabling nonce attributes on rendered scripts, styles, and links. Automatically propagates a configured nonce from route...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?