Disable nonce-based CSP in middleware
Next.js 14 doesn't fully support nonce-based CSP: - Internal scripts (__NEXT_DATA__, hydration) don't receive nonces automatically - Inline style attributes (style-src-attr) don't support nonces at all The static CSP in next.config.js provides protection without causing violations. See #796 for tracking nonce CSP support in future Next.js versions.
Loading
Please sign in to comment