mirror of
https://github.com/gogs/gogs.git
synced 2026-07-06 03:59:26 +02:00
Simplify description
This commit is contained in:
@@ -384,7 +384,7 @@ func NewContext() {
|
||||
forcePathSeparator(LogRootPath)
|
||||
|
||||
sec := Cfg.Section("server")
|
||||
AppName = Cfg.Section("").Key("APP_NAME").MustString("Gogs: Go Git Service")
|
||||
AppName = Cfg.Section("").Key("APP_NAME").MustString("Gogs")
|
||||
AppUrl = sec.Key("ROOT_URL").MustString("http://localhost:3000/")
|
||||
if AppUrl[len(AppUrl)-1] != '/' {
|
||||
AppUrl += "/"
|
||||
|
||||
Reference in New Issue
Block a user