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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user