add videos, update dedup and lazy load image

This commit is contained in:
polv committed 2026-04-03 09:23:27 +07:00
1 parent bdc54b676b
commit 4244665934
5 files changed
+2468 -2

No files matched your search

+3 -1
View File
@@ -64,7 +64,9 @@ wss.on("connection", (ws) => {
const { min, sec } = m.groups;
const t = `${min}_${sec}`;
ts.push(t);
newContent += `\n![${line}](./${q_stem}/${t}.png)\n\n`;
newContent += `![${line}](./${q_stem}/${t}.png)\n`;
newContent += `${line}\n`;
newContent += `\n`;
isChanged = true;
} else {
newContent += `${line}\n`;