mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-29 22:14:26 +02:00
web/settings/migrate: migrate alwaysProxy
This commit is contained in:
parent
b463ec7a7d
commit
89fccae33d
@ -57,6 +57,13 @@ const migrations: Record<number, Migrator> = {
|
||||
}
|
||||
}
|
||||
|
||||
if (settings?.privacy) {
|
||||
if ("alwaysProxy" in settings.privacy) {
|
||||
out.save!.alwaysProxy = settings.privacy.alwaysProxy;
|
||||
delete settings.privacy.alwaysProxy;
|
||||
}
|
||||
}
|
||||
|
||||
return out as AllPartialSettingsWithSchema;
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user