From 90834d4481529c2a1740bb4bf7a8a2c2d1dc041d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Bevacqua?= Date: Fri, 5 Feb 2016 12:15:27 -0300 Subject: [PATCH] No good reason not to use HTTPS. --- twemoji.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/twemoji.js b/twemoji.js index 83dce19e..93657bf9 100644 --- a/twemoji.js +++ b/twemoji.js @@ -24,8 +24,7 @@ var twemoji = (function ( ///////////////////////// // default assets url, by default will be Twitter Inc. CDN - base: (location.protocol === 'https:' ? 'https:' : 'http:') + - '//twemoji.maxcdn.com/', + base: 'https://twemoji.maxcdn.com/', // default assets file extensions, by default '.png' ext: '.png', @@ -587,4 +586,4 @@ var twemoji = (function ( return r.join(sep || '-'); } -}()); \ No newline at end of file +}());