mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-22 01:34:18 +00:00
parent
d122aa6d88
commit
fd4b123e88
3 changed files with 8 additions and 1 deletions
|
@ -49,6 +49,7 @@ var (
|
|||
AppName string
|
||||
AppLogo string
|
||||
AppUrl string
|
||||
SshPort int
|
||||
OfflineMode bool
|
||||
DisableRouterLog bool
|
||||
ProdMode bool
|
||||
|
@ -330,6 +331,7 @@ func NewConfigContext() {
|
|||
AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png")
|
||||
AppUrl = Cfg.MustValue("server", "ROOT_URL")
|
||||
Domain = Cfg.MustValue("server", "DOMAIN")
|
||||
SshPort = Cfg.MustInt("server", "SSH_PORT", 22)
|
||||
OfflineMode = Cfg.MustBool("server", "OFFLINE_MODE", false)
|
||||
DisableRouterLog = Cfg.MustBool("server", "DISABLE_ROUTER_LOG", false)
|
||||
SecretKey = Cfg.MustValue("security", "SECRET_KEY")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue