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
@zllkjc Yeah, I think my original assumption was wrong, I wanted these headers on ALL files but it seems it's enough to set Content-Security-Policy to an HTML file to make things work. So UnstableMiddleware does the trick!
What problem does this feature solve?
Hi, is it possible to have something like https://nextjs.org/docs/app/building-your-application/configuring/content-security-policy ?
I tried to do so using Middleware or UnstableMiddleware but it seems not possible since static resources not passed through them...
Thank you
What does the proposed API look like?
Something like this should be good https://nextjs.org/docs/app/building-your-application/configuring/content-security-policy :)
The text was updated successfully, but these errors were encountered: