2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-16 17:45:09 +00:00

Do not force https for default CDN

This commit is contained in:
cyberalien 2017-03-18 10:46:28 +02:00
parent f1f633d7a0
commit fe66208c7f

View File

@ -14,10 +14,8 @@
(function(SimpleSVG, scope) {
"use strict";
var isAncientBrowser = !Object.assign || !scope.MutationObserver;
// CDN callback script
SimpleSVG._defaultConfig.defaultCDN = (isAncientBrowser ? '' : 'https:') + '//cdn.simplesvg.com/json/?callback={callback}&icons={icons}';
SimpleSVG._defaultConfig.defaultCDN = '//cdn.simplesvg.com/json/?callback={callback}&icons={icons}';
// Custom CDN list. Key = prefix, value = CDN URL
SimpleSVG._defaultConfig.customCDN = {};