Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Added frame-src to CSP.

Mike Cao91d385d8387b
diff --git a/next.config.js b/next.config.js
index a1e30c36c..eaaf8fe72 100644
--- a/next.config.js
+++ b/next.config.js
@@ -9,6 +9,7 @@ const contentSecurityPolicy = [
`script-src 'self' 'unsafe-eval' 'unsafe-inline'`,
`style-src 'self' 'unsafe-inline'`,
`connect-src 'self' api.umami.is`,
+ `frame-src *`,
];
const cspHeader = (values = []) => ({