Discourse refused to load with CSP policy error after rebuild

CSP is now on by default, but for some reason, your instance isn’t working right. You can disable CSP temporarily by:

./launcher enter app
rails c

and then in the rails console

SiteSetting.content_security_policy = false
11 Likes