db: use db key to store migration status

the planned config key "migrated_to_db" is not used, instead it is
stored in the database since that's a bit cleaner.
This commit is contained in:
Harvey Tindall
2023-06-25 19:59:11 +01:00
parent e9f9d9dc98
commit 28c3d9d2e4
2 changed files with 13 additions and 7 deletions
-2
View File
@@ -37,8 +37,6 @@ func (app *appContext) loadConfig() error {
return err
}
app.MustSetValue("", "migrated_to_db", "false")
app.MustSetValue("jellyfin", "public_server", app.config.Section("jellyfin").Key("server").String())
app.MustSetValue("ui", "redirect_url", app.config.Section("jellyfin").Key("public_server").String())