Skip to content

Commit

Permalink
Fix error message when saving generated LOCAL_ROOT_URL config (#15880)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiqwab authored May 15, 2021
1 parent b6b8b19 commit 9f19c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func setPort(port string) error {

cfg.Section("server").Key("LOCAL_ROOT_URL").SetValue(defaultLocalURL)
if err := cfg.SaveTo(setting.CustomConf); err != nil {
return fmt.Errorf("Error saving generated JWT Secret to custom config: %v", err)
return fmt.Errorf("Error saving generated LOCAL_ROOT_URL to custom config: %v", err)
}
}
return nil
Expand Down

0 comments on commit 9f19c2b

Please sign in to comment.