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 }