From fa95d814268950ae81a615fe4e34006f6fd09fb6 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Mon, 17 Mar 2025 20:26:38 +0800 Subject: Remove google analytics. --- netlify.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'netlify.toml') diff --git a/netlify.toml b/netlify.toml index e0e6473..e845558 100644 --- a/netlify.toml +++ b/netlify.toml @@ -18,7 +18,7 @@ # here, but we recommend using the Netlify UI for sensitive # values to keep them out of your source repository. [context.production] - command = 'hugo --source=exampleSite --baseURL ${URL} --destination ../public --minify; cp google68c3edfdb3673ddb.html ./public' + command = 'hugo --source=exampleSite --baseURL ${URL} --destination ../public --minify;' [context.production.environment] HUGO_ENV = 'production' @@ -88,11 +88,9 @@ # (including inline scripts and event-handling HTML attributes). Content-Security-Policy = """ default-src 'self'; - script-src 'self' www.googletagmanager.com giscus.app; + script-src 'self' giscus.app; style-src 'self' giscus.app; - img-src 'self' data: *.google-analytics.com www.googletagmanager.com www.gstatic.com stats.g.doubleclick.net; font-src 'self'; - connect-src 'self' *.google-analytics.com *.analytics.google.com analytics.google.com www.googletagmanager.com stats.g.doubleclick.net; media-src 'self'; object-src 'self'; frame-src giscus.app; -- cgit v1.2.3