aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--next.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/next.config.js b/next.config.js
index f3a3b2c..e754deb 100644
--- a/next.config.js
+++ b/next.config.js
@@ -6,7 +6,7 @@ const matomoDomain = process.env.NEXT_PUBLIC_MATOMO_DOMAIN;
const contentSecurityPolicy = `
default-src 'self' ${backendDomain};
- child-src: 'self' *.${frontendDomain.replace('www.', '')};
+ child-src 'self' *.${frontendDomain.replace('www.', '')};
connect-src 'self' ${backendDomain} api.github.com;
font-src 'self';
frame-src 'self' ${matomoDomain};
@@ -18,7 +18,7 @@ const contentSecurityPolicy = `
const contentSecurityPolicyDev = `
default-src 'self' ${backendDomain};
- child-src: 'self' *.${frontendDomain.replace('www.', '')};
+ child-src 'self' *.${frontendDomain.replace('www.', '')};
connect-src 'self' ${backendDomain} api.github.com;
font-src 'self';
frame-src 'self' ${matomoDomain};