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 authored and GitHub committed 2025-03-03 19:02:25 +08:00
1 parent d972d331e2
commit f1e3613daf
9 files changed
+143 -62

No files matched your search

+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 {