Fixed: Delete old keys (#226)
This commit is contained in:
parent
4fd7614b2f
commit
f3777eb8a2
|
@ -34,7 +34,7 @@ main._initializeSettings = function () {
|
|||
storageManager.type.get(null, function (items) {
|
||||
// Delete old keys
|
||||
if (typeof items.whitelistedDomains !== 'undefined') {
|
||||
if (items.allowlistedDomains === 'undefined' || Object.keys(items.allowlistedDomains).length === 0) {
|
||||
if (typeof items.allowlistedDomains === 'undefined' || Object.keys(items.allowlistedDomains).length === 0) {
|
||||
items['allowlistedDomains'] = items.whitelistedDomains;
|
||||
}
|
||||
delete items['whitelistedDomains'];
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
<li>Updated: Socket.IO v2.3.0 -> v2.4.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/222">#222</a>)</li>
|
||||
<li>Updated: Socket.IO v3.0.4 -> v3.0.5 (<a href="https://codeberg.org/nobody/LocalCDN/issues/224">#224</a>)</li>
|
||||
<li>Updated: instantsearch.js v4.9.2 -> v4.10.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/225">#225</a>)</li>
|
||||
<li>Fixed: Delete old keys (<a href="https://codeberg.org/nobody/LocalCDN/issues/226">#226</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
Loading…
Reference in New Issue