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 +}());