fix feedback comment path

This commit is contained in:
oiov
2025-07-28 11:33:20 +08:00
parent f12c9e326b
commit 1fd837d4cb
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -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) {
+2 -2
View File
@@ -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
View File
File diff suppressed because one or more lines are too long