Skip to content

Commit

Permalink
Change analytics from Fathom to Plausible (open source).
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoBernardino committed Jun 30, 2022
1 parent beb7e13 commit ecbb017
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const securityHeaders = [
{
key: 'Content-Security-Policy',
value:
"default-src 'self' https://*.userbase.com wss://*.userbase.com https://*.stripe.com data: blob:; child-src 'self' data: blob: https://*.stripe.com; img-src 'self' https://*.usefathom.com data: blob: https://*.stripe.com; style-src 'self' 'unsafe-inline' https://*.stripe.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.usefathom.com https://*.stripe.com",
"default-src 'self' https://*.userbase.com wss://*.userbase.com https://*.stripe.com data: blob:; child-src 'self' data: blob: https://*.stripe.com; img-src 'self' https://*.plausible.io data: blob: https://*.stripe.com; style-src 'self' 'unsafe-inline' https://*.stripe.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.plausible.io https://*.stripe.com",
},
{
key: 'Strict-Transport-Security',
Expand Down
4 changes: 2 additions & 2 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export default class MyDocument extends Document {
<Main />
<NextScript />
<script
src="https://cdn.usefathom.com/script.js"
data-site="SMOFTKDK"
defer
data-domain="app.budgetzen.net"
src="https://plausible.io/js/plausible.js"
/>
<script src="https://js.stripe.com/v3/" defer />
</body>
Expand Down

0 comments on commit ecbb017

Please sign in to comment.