From 5ccb71ea81297c253346a44203c2840e824f920b Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Mon, 13 Mar 2023 15:59:35 +0800 Subject: [PATCH] =?UTF-8?q?amazon=E5=9B=BE=E5=BA=8A=E5=A4=B4=E5=83=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/notion/mapImage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/notion/mapImage.js b/lib/notion/mapImage.js index 03cfc62f..3d91cd4d 100644 --- a/lib/notion/mapImage.js +++ b/lib/notion/mapImage.js @@ -20,7 +20,7 @@ const mapImgUrl = (img, block, type = 'block') => { } // notion永久图床地址 - if (!ret && img.indexOf('secure.notion-static.com') > 0 && (BLOG.IMG_URL_TYPE === 'Notion' || type === 'block')) { + if (!ret && img.indexOf('secure.notion-static.com') > 0 && (BLOG.IMG_URL_TYPE === 'Notion' || type !== 'block')) { ret = 'https://www.notion.so/image/' + encodeURIComponent(img) + '?table=' + type + '&id=' + block.id }