mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
enhance: show the form error details of Preference
This commit is contained in:
parent
b0a3989ef4
commit
398eea2159
8 changed files with 74 additions and 22 deletions
|
@ -27,7 +27,6 @@ func SaveSettings(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
// todo: omit protected fields when binding
|
||||
fillSettings(&settings.ServerSettings, &json.Server)
|
||||
fillSettings(&settings.NginxSettings, &json.Nginx)
|
||||
fillSettings(&settings.OpenAISettings, &json.Openai)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue