diff --git a/homepage/firebase.json b/homepage/firebase.json index 2b97d03..97a9f9b 100644 --- a/homepage/firebase.json +++ b/homepage/firebase.json @@ -21,7 +21,7 @@ "source": "**", "headers": [{ "key": "Content-Security-Policy", - "value": "script-src 'self'; style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; default-src 'self'" + "value": "script-src 'self'; style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; connect-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com; default-src 'self'" }] } ] diff --git a/homepage/hugo.toml b/homepage/hugo.toml index a840988..2699ac1 100644 --- a/homepage/hugo.toml +++ b/homepage/hugo.toml @@ -63,4 +63,4 @@ enableGitInfo = true [[server.headers]] for = '/**' [server.headers.values] - Content-Security-Policy = "script-src 'self'; style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; default-src 'self'" + Content-Security-Policy = "script-src 'self'; style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; connect-src 'self' https://fonts.googleapis.com https://fonts.gstatic.com; default-src 'self'"