1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Fixed: Copy old data (#138)

This commit is contained in:
nobody
2020-10-18 09:12:20 +02:00
parent ce6419b601
commit 83d7264214
2 changed files with 3 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ main._initializeSettings = function () {
}
// Copy old data
if (items.allowlistedDomains === null) {
if (Object.keys(items.allowlistedDomains).length === 0) {
items.allowlistedDomains = items.whitelistedDomains;
}