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:
parent
f1f633d7a0
commit
fe66208c7f
@ -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 = {};
|
||||
|
Loading…
Reference in New Issue
Block a user