feat: 添加 cusdis 评论。
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-10-07 17:12:50 +08:00
parent 31a4cb3bd1
commit eee38148ee
10 changed files with 105 additions and 1031 deletions

View File

@@ -40,7 +40,7 @@ const siteMetadata = {
// 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: '', // supported providers: giscus, utterances, disqus
provider: 'cusdis', // supported providers: giscus, utterances, disqus
giscusConfig: {
// Visit the link below, and follow the steps in the 'configuration' section
// https://giscus.app/
@@ -78,6 +78,10 @@ const siteMetadata = {
// https://help.disqus.com/en/articles/1717111-what-s-a-shortname
shortname: process.env.NEXT_PUBLIC_DISQUS_SHORTNAME,
},
cusdisConfig: {
appId: process.env.NEXT_PUBLIC_CUSDIS_APPID,
host: process.env.NEXT_PUBLIC_CUSDIS_HOST,
},
},
}