fix feedback comment path
This commit is contained in:
@@ -128,8 +128,9 @@ async function handleExternalForward(data: OriginalEmail, configs: any) {
|
||||
subject: data.subject ?? "No subject",
|
||||
html: data.html ?? data.text ?? "-",
|
||||
});
|
||||
|
||||
console.log("[Resend Error]", error);
|
||||
if (error) {
|
||||
console.log("[Resend Error]", error);
|
||||
}
|
||||
}
|
||||
|
||||
async function handleNormalEmail(data: OriginalEmail) {
|
||||
|
||||
@@ -21,10 +21,10 @@ export default function TwikooComment() {
|
||||
twikoo.init({
|
||||
envId: "https://comment.oiov.dev",
|
||||
el: '#twikoo-comment',
|
||||
pageSize: 10,
|
||||
pageSize: 30,
|
||||
includeReply: true,
|
||||
lang: "${locale === "zh" ? "zh-CN" : "en"}",
|
||||
path: location.pathname,
|
||||
path: location.host,
|
||||
onCommentLoaded: function() {
|
||||
// 评论加载完成后隐藏 loading
|
||||
window.dispatchEvent(new CustomEvent('twikoo-loaded'));
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user