diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-16 00:18:12 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-16 00:52:34 +0100 |
| commit | 94efbf764afc9a2d0f9ababcfe43b50190ad8c32 (patch) | |
| tree | 64629762faf6776b3317e2aa82ce4d96a78423fb /next.config.js | |
| parent | 9eae4703c97c50e82d959a3e0859fe1553889b15 (diff) | |
fix: typo in CSP
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 4 |
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}; |
