summaryrefslogtreecommitdiffstats
path: root/netlify.toml
diff options
context:
space:
mode:
Diffstat (limited to 'netlify.toml')
-rw-r--r--netlify.toml10
1 files changed, 4 insertions, 6 deletions
diff --git a/netlify.toml b/netlify.toml
index 3323bf6..d030639 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,14 +88,12 @@
# (including inline scripts and event-handling HTML attributes).
Content-Security-Policy = """
default-src 'self';
- script-src 'self' www.googletagmanager.com hypothes.is cdn.hypothes.is giscus.app;
- style-src 'self' cdn.hypothes.is giscus.app;
- img-src 'self' data: *.google-analytics.com www.googletagmanager.com www.gstatic.com stats.g.doubleclick.net;
+ script-src 'self' giscus.app;
+ style-src 'self' giscus.app;
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 hypothes.is giscus.app;
+ frame-src giscus.app;
worker-src 'self';
frame-ancestors 'none';
form-action 'self' submit-form.com;