mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 09:28:29 +00: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…
Reference in New Issue
Block a user