From dbd62b315672011ccbfad031e0c27db4d27a3b9c Mon Sep 17 00:00:00 2001 From: JiXieShi Date: Tue, 7 May 2024 22:00:29 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20img=E5=8A=A0=E8=BD=BD1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/blog/album.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/blog/album.html b/themes/blog/album.html index 54e71f7..5cf5ac9 100644 --- a/themes/blog/album.html +++ b/themes/blog/album.html @@ -248,7 +248,7 @@ for (const item of items) { html += `
${item.text}` for (const id of item.ids) { - await fetch(window.location.href+`/api/bilibili?bvid=${id}`).then(res => res.json()).then(data => { + await fetch(window.location.origin+`/api/bilibili?bvid=${id}`).then(res => res.json()).then(data => { html += `