forked from forgejo/forgejo
Add router log config option
This commit is contained in:
parent
03c2468c2f
commit
100cd181bc
8 changed files with 32 additions and 9 deletions
|
@ -50,6 +50,7 @@ var (
|
|||
AppLogo string
|
||||
AppUrl string
|
||||
OfflineMode bool
|
||||
RouterLog bool
|
||||
ProdMode bool
|
||||
Domain string
|
||||
SecretKey string
|
||||
|
@ -327,6 +328,7 @@ func NewConfigContext() {
|
|||
AppUrl = Cfg.MustValue("server", "ROOT_URL")
|
||||
Domain = Cfg.MustValue("server", "DOMAIN")
|
||||
OfflineMode = Cfg.MustBool("server", "OFFLINE_MODE", false)
|
||||
RouterLog = Cfg.MustBool("server", "ROUTER_LOG", true)
|
||||
SecretKey = Cfg.MustValue("security", "SECRET_KEY")
|
||||
|
||||
InstallLock = Cfg.MustBool("security", "INSTALL_LOCK", false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue