From 73105a7acb6b037a04f9028fabc078ae55b40773 Mon Sep 17 00:00:00 2001 From: HelloWorld Date: Wed, 22 Apr 2020 20:30:33 +0800 Subject: [PATCH] http --> https --- src/config/crontab.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 });