mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-23 16:44:34 +01:00
Added CDN: www.gstatic.com (#167)
This commit is contained in:
parent
628bba2e35
commit
c23fc4365e
@ -264,7 +264,8 @@ const CDNs = {
|
|||||||
'gitcdn.github.io': 'GitHub',
|
'gitcdn.github.io': 'GitHub',
|
||||||
'cdn.bootcdn.net': 'BootCDN #2',
|
'cdn.bootcdn.net': 'BootCDN #2',
|
||||||
'vjs.zencdn.net': 'Video.js CDN',
|
'vjs.zencdn.net': 'Video.js CDN',
|
||||||
'cdn.plyr.io': 'Plyr CDN'
|
'cdn.plyr.io': 'Plyr CDN',
|
||||||
|
'www.gstatic.com': 'gstatic.com',
|
||||||
};
|
};
|
||||||
|
|
||||||
// Supported charsets for TextDecoder()
|
// Supported charsets for TextDecoder()
|
||||||
|
@ -868,6 +868,12 @@ mappings.cdn = {
|
|||||||
'/': {
|
'/': {
|
||||||
'{version}/plyr.svg': resources.plyrSVG
|
'{version}/plyr.svg': resources.plyrSVG
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// gstatic
|
||||||
|
'www.gstatic.com': {
|
||||||
|
'/': {
|
||||||
|
'charts/loader.js': resources.googleCharts
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -32,6 +32,8 @@ ruleGenerator.openRuleSet = function ({ target }) {
|
|||||||
btnCopy = document.getElementById('button-copy-rule-set');
|
btnCopy = document.getElementById('button-copy-rule-set');
|
||||||
content = '';
|
content = '';
|
||||||
|
|
||||||
|
// Exclude www.gstatic.com
|
||||||
|
delete urls['www.gstatic.com'];
|
||||||
|
|
||||||
textArea.style.display = 'block';
|
textArea.style.display = 'block';
|
||||||
btnCopy.style.display = 'block';
|
btnCopy.style.display = 'block';
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
<li>Added CDN: cdn.plyr.io (<a href="https://codeberg.org/nobody/LocalCDN/issues/165">#165</a>)</li>
|
<li>Added CDN: cdn.plyr.io (<a href="https://codeberg.org/nobody/LocalCDN/issues/165">#165</a>)</li>
|
||||||
<li>Fixed: Twitter Bootstrap (<a href="https://codeberg.org/nobody/LocalCDN/issues/166">#166</a>)</li>
|
<li>Fixed: Twitter Bootstrap (<a href="https://codeberg.org/nobody/LocalCDN/issues/166">#166</a>)</li>
|
||||||
<li>Fixed: Rule generator</li>
|
<li>Fixed: Rule generator</li>
|
||||||
|
<li>Added CDN: www.gstatic.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/167">#167</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="generator-section">
|
<div id="generator-section">
|
||||||
<div class="topic-label">
|
<div class="topic-label">
|
||||||
|
Loading…
Reference in New Issue
Block a user