Skip to content

Commit

Permalink
Merge pull request #733 from gotify/silent
Browse files Browse the repository at this point in the history
fix: enable silent mode
  • Loading branch information
jmattheis authored Nov 15, 2024
2 parents 2eee800 + 5395112 commit 8639316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func configFiles() []string {
// Get returns the configuration extracted from env variables or config file.
func Get() *Configuration {
conf := new(Configuration)
err := configor.New(&configor.Config{ENVPrefix: "GOTIFY"}).Load(conf, configFiles()...)
err := configor.New(&configor.Config{ENVPrefix: "GOTIFY", Silent: true}).Load(conf, configFiles()...)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 8639316

Please sign in to comment.