Allow plausible.io in the CSP #292

Merged
lunny merged 1 commits from jolheiser/blog:csp into main 2023-08-22 14:53:07 +00:00

View File

@ -1,5 +1,5 @@
/*
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://discourse.gitea.io https://discourse-cdn-sjc2.com; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com https://discourse-cdn-sjc2.com; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com; img-src 'self' https://docs.gitea.com https://gitea.com https://github.com https://discourse.gitea.io https://opencollective.com https://discourse-cdn-sjc2.com https://seccdn.libravatar.org; frame-src 'self' https://discourse.gitea.io;
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://discourse.gitea.io https://discourse-cdn-sjc2.com https://plausible.io; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com https://discourse-cdn-sjc2.com; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com; img-src 'self' https://docs.gitea.com https://gitea.com https://github.com https://discourse.gitea.io https://opencollective.com https://discourse-cdn-sjc2.com https://seccdn.libravatar.org; frame-src 'self' https://discourse.gitea.io;
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff