forked from forgejo/forgejo
cmd: CMD option for port number of gogs web
to prevent first time run conflict
- routers: use new binding convention to simplify code - templates: able to set HTTP port number in install page
This commit is contained in:
parent
3d9cda2d98
commit
b293b6eaa6
10 changed files with 133 additions and 122 deletions
|
@ -178,7 +178,7 @@ func NewConfigContext() {
|
|||
log.Fatal(4, "Fail to load custom 'conf/app.ini': %v", err)
|
||||
}
|
||||
} else {
|
||||
log.Warn("No custom 'conf/app.ini' found, please go to '/install'")
|
||||
log.Warn("No custom 'conf/app.ini' found, ignore this if you're running first time")
|
||||
}
|
||||
Cfg.NameMapper = ini.AllCapsUnderscore
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue