config: add option to disable panel config updates (#162)

This commit is contained in:
Jakob Schrettenbrunner
2023-02-27 21:05:36 +01:00
committed by GitHub
parent 4d9fee383f
commit ec6d6d83ea
2 changed files with 18 additions and 1 deletions

View File

@@ -319,6 +319,9 @@ type Configuration struct {
// is only required by users running Wings without SSL certificates and using internal IP
// addresses in order to connect. Most users should NOT enable this setting.
AllowCORSPrivateNetwork bool `json:"allow_cors_private_network" yaml:"allow_cors_private_network"`
// IgnorePanelConfigUpdates causes confiuration updates that are sent by the panel to be ignored.
IgnorePanelConfigUpdates bool `json:"ignore_panel_config_updates" yaml:"ignore_panel_config_updates"`
}
// NewAtPath creates a new struct and set the path where it should be stored.