diff --git a/src/config/crontab.js b/src/config/crontab.js index 6c286bf..3847ca9 100644 --- a/src/config/crontab.js +++ b/src/config/crontab.js @@ -31,8 +31,8 @@ module.exports = [{ tagName: item.sourceName, createdAt: think.datetime(item.updatetime > item.createtime ? item.createtime : item.updatetime), lastClick: think.datetime(item.updatetime <= item.createtime ? item.createtime : item.updatetime), - snap: item.images_upd, - icon: item.sourceLogo.replace("http://shouqu", "https://shouqu") + snap: item.images_upd.replace("http://", "https://"), + icon: item.sourceLogo.replace("http://", "https://") }) } await think.model('hot_bookmarks').addMany(dataList, { replace: true });