mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
SSL enable config option
This commit is contained in:
@@ -141,6 +141,7 @@ func Config(ctx *middleware.Context) {
|
||||
ctx.Data["Domain"] = base.Domain
|
||||
ctx.Data["RunUser"] = base.RunUser
|
||||
ctx.Data["RunMode"] = strings.Title(martini.Env)
|
||||
ctx.Data["EnableHttpsClone"] = base.EnableHttpsClone
|
||||
ctx.Data["RepoRootPath"] = base.RepoRootPath
|
||||
|
||||
ctx.Data["Service"] = base.Service
|
||||
|
@@ -26,6 +26,6 @@ func Help(ctx *middleware.Context) {
|
||||
|
||||
func NotFound(ctx *middleware.Context) {
|
||||
ctx.Data["PageIsNotFound"] = true
|
||||
ctx.Data["Title"] = 404
|
||||
ctx.Data["Title"] = "Page Not Found"
|
||||
ctx.Handle(404, "home.NotFound", nil)
|
||||
}
|
||||
|
Reference in New Issue
Block a user