feat: 添加并改用 commento 评论。
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-10-07 22:04:38 +08:00
parent eee38148ee
commit ca5eb7cd5e
9 changed files with 175 additions and 11 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: 'cusdis', // supported providers: giscus, utterances, disqus
provider: 'commento', // supported providers: giscus, utterances, disqus
giscusConfig: {
// Visit the link below, and follow the steps in the 'configuration' section
// https://giscus.app/
@@ -82,6 +82,9 @@ const siteMetadata = {
appId: process.env.NEXT_PUBLIC_CUSDIS_APPID,
host: process.env.NEXT_PUBLIC_CUSDIS_HOST,
},
commentoConfig: {
url: process.env.NEXT_PUBLIC_COMMENTO_URL,
},
},
}