Sort domains alphabetically (#952)
This commit is contained in:
parent
80bd94e25b
commit
1768e38f57
|
@ -193,7 +193,7 @@ options._serializeAllowlistedDomains = function (allowlistedDomains) {
|
|||
|
||||
let domainAllowlist, allowlistedDomainKeys;
|
||||
|
||||
allowlistedDomainKeys = Object.keys(allowlistedDomains);
|
||||
allowlistedDomainKeys = Object.keys(allowlistedDomains).sort();
|
||||
domainAllowlist = '';
|
||||
|
||||
allowlistedDomainKeys.forEach(function (domain) {
|
||||
|
|
|
@ -40,6 +40,10 @@
|
|||
<li>CreateJS v1.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/943">#943</a>)</li>
|
||||
<li>CDN: code.createjs.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/943">#943</a>)</li>
|
||||
</ul>
|
||||
<p>Improved</p>
|
||||
<ul>
|
||||
<li>Sort domains alphabetically (<a href="https://codeberg.org/nobody/LocalCDN/issues/952">#952</a>)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
Loading…
Reference in New Issue