mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 02:38:35 +00:00
HTTP no follow and offline mode
This commit is contained in:
@@ -30,7 +30,7 @@ func checkRunMode() {
|
||||
switch base.Cfg.MustValue("", "RUN_MODE") {
|
||||
case "prod":
|
||||
martini.Env = martini.Prod
|
||||
base.IsProdMode = true
|
||||
base.ProdMode = true
|
||||
case "test":
|
||||
martini.Env = martini.Test
|
||||
}
|
||||
|
Reference in New Issue
Block a user