React frontend: Setting content-security-policy in the index.html doesn't seem to do anything?

It’s a side effect of breaking changes of dfx v0.13.1. Now when you create a new project it gets created with a restrictive CSP. You can disable it, I understand did not try my self, in .ic-assets.json. Not sure if you have to clean and redeploy afterwards, checkout the release notes.

2 Likes