fix(route): freewechat (#15179)

This commit is contained in:
Terence孫
2024-04-10 17:16:55 +08:00
committed by GitHub
parent 15476262c8
commit a0ea082fad
+1 -1
View File
@@ -65,7 +65,7 @@ async function handler(ctx) {
$('.js_img_placeholder').remove();
$('amp-img').each((_, e) => {
e = $(e);
e.replaceWith(`<img src="${new URL(e.attr('src'), response.url).href}" width="${e.attr('width')}" height="${e.attr('height')}" decoding="async">`);
e.replaceWith(`<img src="${new URL(e.attr('src'), item.link).href}" width="${e.attr('width')}" height="${e.attr('height')}" decoding="async">`);
});
$('amp-video').each((_, e) => {
e = $(e);