diff options
author | Naohisa Murakami <tiqwab.ch90@gmail.com> | 2021-05-15 19:23:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-15 11:23:21 +0100 |
commit | 9f19c2b8cca9edf2ad7b8803e6ed72b1aea322a5 (patch) | |
tree | fa48626ff0b2a5eeb48bf5d9b4b71125a1b78fbb | |
parent | b6b8b194ca9e9fa848fe16f72f8a14aa0525725c (diff) | |
download | gitea-9f19c2b8cca9edf2ad7b8803e6ed72b1aea322a5.tar.gz gitea-9f19c2b8cca9edf2ad7b8803e6ed72b1aea322a5.zip |
Fix error message when saving generated LOCAL_ROOT_URL config (#15880)
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index 423917ba4e..3a5c36833b 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -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 |