From 7b1401c4f5812d0ba07ac300df3fdaae0aefe9fc Mon Sep 17 00:00:00 2001 From: lovej Date: Thu, 10 Dec 2020 10:12:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=B2=9B=E9=93=BE=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/scripts/controllers/hot-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/scripts/controllers/hot-controller.js b/www/scripts/controllers/hot-controller.js index 7221962..b01bef2 100644 --- a/www/scripts/controllers/hot-controller.js +++ b/www/scripts/controllers/hot-controller.js @@ -165,7 +165,7 @@ app.controller('hotCtr', ['$scope', '$state', '$sce', '$filter', '$window', '$ti bookmark.snap = articl.pic || defaultSnap; bookmark.clickCount = articl.likenum; bookmark.createdAt = timeagoInstance.format(articl.addtime * 1000, 'zh_CN'); - bookmark.content = articl.content.replace(/https:\/\/mmbiz.qpic.cn/gi, "https://favicon.lucq.fun/qpic&url=https://mmbiz.qpic.cn").replace(/http:\/\/mmbiz.qpic.cn/gi, "https://favicon.lucq.fun/qpic&url=https://mmbiz.qpic.cn"); + bookmark.content = articl.content.replace(/https:\/\/mmbiz.qpic.cn/gi, "https://favicon.lucq.fun/qpic?url=https://mmbiz.qpic.cn").replace(/http:\/\/mmbiz.qpic.cn/gi, "https://favicon.lucq.fun/qpic?url=https://mmbiz.qpic.cn"); bookmark.content = $sce.trustAsHtml(bookmark.content); $scope.bookmarks.push(bookmark); })