]> source.dussan.org Git - gitea.git/commitdiff
Fix error message when saving generated LOCAL_ROOT_URL config (#15880)
authorNaohisa Murakami <tiqwab.ch90@gmail.com>
Sat, 15 May 2021 10:23:21 +0000 (19:23 +0900)
committerGitHub <noreply@github.com>
Sat, 15 May 2021 10:23:21 +0000 (11:23 +0100)
cmd/web.go

index 423917ba4e11273616ed129e91893219832d7713..3a5c36833b272df3f7ec7115b640fc24215720bf 100644 (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