Sort domains alphabetically (#952)

This commit is contained in:
nobody 2022-04-22 06:12:23 +02:00
parent 80bd94e25b
commit 1768e38f57
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 5 additions and 1 deletions

View File

@ -193,7 +193,7 @@ options._serializeAllowlistedDomains = function (allowlistedDomains) {
let domainAllowlist, allowlistedDomainKeys; let domainAllowlist, allowlistedDomainKeys;
allowlistedDomainKeys = Object.keys(allowlistedDomains); allowlistedDomainKeys = Object.keys(allowlistedDomains).sort();
domainAllowlist = ''; domainAllowlist = '';
allowlistedDomainKeys.forEach(function (domain) { allowlistedDomainKeys.forEach(function (domain) {

View File

@ -40,6 +40,10 @@
<li>CreateJS v1.0.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/943">#943</a>)</li> <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> <li>CDN: code.createjs.com (<a href="https://codeberg.org/nobody/LocalCDN/issues/943">#943</a>)</li>
</ul> </ul>
<p>Improved</p>
<ul>
<li>Sort domains alphabetically (<a href="https://codeberg.org/nobody/LocalCDN/issues/952">#952</a>)</li>
</ul>
</div> </div>
<div id="generator-section"> <div id="generator-section">
<div class="topic-label"> <div class="topic-label">