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. --- google68c3edfdb3673ddb.html | 1 - netlify.toml | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 google68c3edfdb3673ddb.html diff --git a/google68c3edfdb3673ddb.html b/google68c3edfdb3673ddb.html deleted file mode 100644 index 7479799..0000000 --- a/google68c3edfdb3673ddb.html +++ /dev/null @@ -1 +0,0 @@ -google-site-verification: google68c3edfdb3673ddb.html \ No newline at end of file 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