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