Add setup info regarding the CSP

This commit is contained in:
Alexander Zeilmann
2022-02-10 11:43:22 +01:00
parent 1488ed8f74
commit 5ddacdfdfd
3 changed files with 18 additions and 10 deletions
+4
View File
@@ -18,6 +18,8 @@ const siteMetadata = {
linkedin: 'https://www.linkedin.com',
locale: 'en-US',
analytics: {
// If you want to use an analytics provider you have to add it to the
// content security policy in the `next.config.js` file.
// supports plausible, simpleAnalytics, umami or googleAnalytics
plausibleDataDomain: '', // e.g. tailwind-nextjs-starter-blog.vercel.app
simpleAnalytics: false, // true or false
@@ -30,6 +32,8 @@ const siteMetadata = {
provider: 'buttondown',
},
comment: {
// If you want to use a commenting system other than giscus you have to add it to the
// content security policy in the `next.config.js` file.
// Select a provider and use the environment variables associated to it
// https://vercel.com/docs/environment-variables
provider: 'giscus', // supported providers: giscus, utterances, disqus