fix: config fields not generated on first startup (#1016)

* fix: config fields not generated on first startup

* cleanup

* fix reference

* replace yaml module

* remove duplicated fields

* remove yaml.v3 as a direct dependency

* update dependency

* chore
This commit is contained in:
UUBulb
2025-03-03 19:02:25 +08:00
committed by GitHub
parent d972d331e2
commit f1e3613daf
9 changed files with 143 additions and 62 deletions
+3
View File
@@ -21,6 +21,9 @@ type SettingForm struct {
type Setting struct {
ConfigForGuests
ConfigDashboard
IgnoredIPNotificationServerIDs map[uint64]bool `json:"ignored_ip_notification_server_ids,omitempty"`
Oauth2Providers []string `json:"oauth2_providers,omitempty"`
}
type FrontendTemplate struct {