diff --git a/lib/notion/mapImage.js b/lib/notion/mapImage.js index 8d8c7434d1d..b6da8d8744a 100644 --- a/lib/notion/mapImage.js +++ b/lib/notion/mapImage.js @@ -67,7 +67,7 @@ const mapImgUrl = (img, block, type = 'block', from) => { ret = BLOG.NOTION_HOST + '/image/' + encodeURIComponent(ret) + '?table=' + type + '&id=' + block.id } - if (!isEmoji(ret)) { + if (!isEmoji(ret) && ret.indexOf('notion.so/images/page-cover') < 0) { // 随机图片接口优化 防止因url一致而随机结果相同 const separator = ret.includes('?') ? '&' : '?' // 拼接唯一识别参数,防止请求的图片被缓存