Skip to content

Commit

Permalink
changed validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirari04 committed Jan 22, 2024
1 parent ba20c48 commit 04ec367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ type Setting struct {
FFmpegH264Height string `validate:"required,number,min=1"`
FFmpegH264Width string `validate:"required,number,min=1"`

PluginPgsServer string `validate:"required,http_url"`
PluginPgsServer string `validate:"required"`
}

0 comments on commit 04ec367

Please sign in to comment.