Browse Source

Fix error message when saving generated LOCAL_ROOT_URL config (#15880) (#15882)

Backport of #15880.
tags/v1.14.3
Naohisa Murakami 3 years ago
parent
commit
e38134f707
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      cmd/web.go

+ 1
- 1
cmd/web.go View File

@@ -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

Loading…
Cancel
Save