关于 vercel 在服务器端设置的配置问题 || About the configuration issues of vercel on the server side #2505
MingTechPro
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
vercel 对于 waline 的设置是通过自己对创建的 Github 仓库文件进行修改而完成设置。
注意:
index.js
是没有效果的。index.cjs
文件进行修改才会有效,这应该是由于 vercel 官方并不支持.js
格式的文件。接下来,我将把我自己的
index.cjs
设置予以分享,其中涵盖了“设置关键词过滤”
、“设置禁止访问的 IP”
、“未登录的匿名用户评论需进行审核”
、“自动替换为使用 QQ 头像”
、“自定义新评论邮件标题”
、“自定义新评论邮件模板”
、“自定义回复邮件标题”
以及“自定义回复邮件模板”
。Vercel's settings for waline are completed by modifying the created Github warehouse file.
Notice:
index.js
in the warehouse file has no effect.index.cjs
file in the warehouse must be modified for it to be effective. This may be because vercel officially does not support files in.js
format.Next, I will share my own
index.cjs
settings, which covers"Set keyword filtering"
,"Set prohibited IPs"
,"Anonymous users who are not logged in need to comment. Review"
,"Automatically replace with QQ avatar"
,"Customize new comment email title"
,"Customize new comment email template"
,"Customize reply email title"
and"Auto Define reply email template"
.Beta Was this translation helpful? Give feedback.
All reactions