diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-03-17 20:26:38 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-03-17 20:26:38 +0800 |
| commit | fa95d814268950ae81a615fe4e34006f6fd09fb6 (patch) | |
| tree | 6fff43a4d4fb465372f4ad07061069058cb24d80 /netlify.toml | |
| parent | 1ecd8a5c534765f03cfcd5d236889fbfe72a51a7 (diff) | |
| download | gohugo-theme-ed-fa95d814268950ae81a615fe4e34006f6fd09fb6.tar.gz | |
Remove google analytics.
Diffstat (limited to 'netlify.toml')
| -rw-r--r-- | netlify.toml | 6 |
1 files changed, 2 insertions, 4 deletions
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; |
