Skip to content

Commit

Permalink
config page analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
sidd88 committed Oct 19, 2024
1 parent cb1c8c5 commit 411cd6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
NEXT_PUBLIC_GISCUS_REPOSITORY_ID: ${{ secrets.NEXT_PUBLIC_GISCUS_REPOSITORY_ID }}
NEXT_PUBLIC_GISCUS_CATEGORY: ${{ secrets.NEXT_PUBLIC_GISCUS_CATEGORY }}
NEXT_PUBLIC_GISCUS_CATEGORY_ID: ${{ secrets.NEXT_PUBLIC_GISCUS_CATEGORY_ID }}
NEXT_UMAMI_ID: ${{ secrets.NEXT_UMAMI_ID }}
- uses: actions/upload-pages-artifact@v3
with:
path: ./out
Expand Down
2 changes: 1 addition & 1 deletion data/siteMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const siteMetadata = {
newsletter: {
// supports mailchimp, buttondown, convertkit, klaviyo, revue, emailoctopus, beehive
// Please add your .env file and modify it according to your selection
provider: 'buttondown',
provider: '',
},
comments: {
// If you want to use an analytics provider you have to add it to the
Expand Down
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
// You might need to insert additional domains in script-src if you are using external services
const ContentSecurityPolicy = `
default-src 'self';
script-src 'self' 'unsafe-eval' 'unsafe-inline' giscus.app analytics.umami.is;
script-src 'self' 'unsafe-eval' 'unsafe-inline' giscus.app analytics.umami.is us.umami.is;
style-src 'self' 'unsafe-inline';
img-src * blob: data:;
media-src *.s3.amazonaws.com;
Expand Down

0 comments on commit 411cd6c

Please sign in to comment.