amazon图床头像bug

This commit is contained in:
tangly1024.com
2023-03-13 15:59:35 +08:00
parent af31304784
commit 5ccb71ea81

View File

@@ -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
}