docs: update docs regarding to settings v2

This commit is contained in:
Jacky 2024-10-22 23:56:56 +08:00
parent 60034145fa
commit 80cb8e1151
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
39 changed files with 1080 additions and 321 deletions

View file

@ -37,7 +37,7 @@ type settingsV2 struct {
// Cosy
App settings.App
Server settings.Server
DataBase settings.DataBase
DataBase Database
// Nginx UI
Auth Auth
Casdoor Casdoor
@ -121,7 +121,7 @@ func Migrate(confPath string) {
// Cosy
app := &settings.App{}
server := &settings.Server{}
database := &settings.DataBase{}
database := &Database{}
// Nginx UI
auth := &Auth{}
casdoor := &Casdoor{}