web/settings/v4: add api key settings, remove override settings

This commit is contained in:
wukko
2024-11-23 19:08:24 +06:00
parent 5b60065c9f
commit baebeed488
4 changed files with 21 additions and 10 deletions

View File

@ -2,7 +2,7 @@ import { defaultLocale } from "$lib/i18n/translations";
import type { CobaltSettings } from "$lib/types/settings";
const defaultSettings: CobaltSettings = {
schemaVersion: 3,
schemaVersion: 4,
advanced: {
debug: false,
},
@ -33,10 +33,10 @@ const defaultSettings: CobaltSettings = {
disableAnalytics: false,
},
processing: {
allowDefaultOverride: false,
customInstanceURL: "",
customApiKey: "",
enableCustomInstances: false,
seenOverrideWarning: false,
enableCustomApiKey: false,
seenCustomWarning: false,
}
}