Next.js Discord

Discord Forum

how to add content-security-policy

American Chinchilla posted this in #help-forum
Open in Discord
American ChinchillaOP
I am struggling with CSP. Can you please tell me where and how I add add content security policy. I am using jsx. I have added headers in next.config.js but chrome console showing error refused to apply.
Do you have any guide or can you share your code?

Thank you for your help.

0 Replies