From 2fa51fb4ba22a636486ab5add21c69e7cc453574 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Tue, 14 Mar 2017 16:37:38 +0800 Subject: [PATCH] Fix export html to replace fallen cdn tortue.me to cdnjs --- public/js/extra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/extra.js b/public/js/extra.js index 1ba4a13c..9dd78535 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -581,7 +581,7 @@ function generateCleanHTML (view) { let name = $(value).attr('alt') name = name.substr(1) name = name.slice(0, name.length - 1) - $(value).attr('src', `https://www.tortue.me/emoji/${name}.png`) + $(value).attr('src', `https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/images/basic/${name}.png`) }) // replace video to iframe src.find('div[data-videoid]').each((key, value) => {