Skip to content

Commit

Permalink
remove: old references to plausible
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikthepixel committed Dec 20, 2024
1 parent 13d3993 commit 2d012c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion caddy/10-headers.caddy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
header ?Cross-Origin-Embedder-Policy credentialless

# Simplified CSP by removing everything which was set to "none", since the default-src is "none" anyways, except for base-uri and frame-ancestors which don't have default-src fallback: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/default-src
header +Content-Security-Policy "default-src 'none'; script-src 'self' https://plausible.thenewoil.org; connect-src 'self' https://plausible.thenewoil.org; style-src 'self' 'unsafe-inline'; img-src 'self'; font-src 'self' data: ; media-src 'self' data: ;"
header +Content-Security-Policy "default-src 'none'; script-src 'self'; connect-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self'; font-src 'self' data: ; media-src 'self' data: ;"
header +Content-Security-Policy "form-action 'self'; frame-ancestors 'none'; base-uri 'none'; sandbox allow-scripts allow-popups;"

# why is this set to 0? see: https://github.com/privacyguides/privacyguides.org/pull/2021#issuecomment-1444083670
Expand Down
1 change: 0 additions & 1 deletion src/components/layout/DefaultHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ const title = `${config.title}${pageTitle && ` | ${pageTitle}`}`;
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script is:inline type="module" data-domain="thenewoil.org" src="https://plausible.thenewoil.org/js/script.js"></script>
<link rel="me" href="https://mastodon.thenewoil.org/@thenewoil" />
<link rel="me" href="https://mastodon.thenewoil.org/@admin" />
<link rel="me" href="https://mastodon.thenewoil.org/@nateb" />

0 comments on commit 2d012c2

Please sign in to comment.