Skip to content

Commit

Permalink
Fix error message when saving generated LOCAL_ROOT_URL config (go-git…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiqwab authored and AbdulrhmnGhanem committed Aug 10, 2021
1 parent f119729 commit bce182c
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 bce182c

Please sign in to comment.