fixed bug for Keling video downloading, update database SQL

This commit is contained in:
RockYang
2025-03-10 17:02:14 +08:00
parent d0025032b0
commit a4ee5cdeff
4 changed files with 1005 additions and 35 deletions

View File

@@ -584,7 +584,7 @@ const previewVideo = (task) => {
const downloadVideo = async (task) => {
try {
const res = await httpDownload(`/api/download?url=${task.video_url}`);
const res = await httpDownload(`/api/download?url=${replaceImg(task.video_url)}`);
const blob = new Blob([res.data]);
const link = document.createElement("a");
link.href = URL.createObjectURL(blob);