diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-23 08:40:40 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-23 08:40:40 -0400 |
commit | 97debac18534e030924654befc6dc1eeb870a38b (patch) | |
tree | 957bc269e6dcf176f1c242e8be2a7f461daa12c8 /routers/admin | |
parent | 97e82a0ff6286fd0a42281cd1e34dd734110e2f4 (diff) |
SSL enable config option
Diffstat (limited to 'routers/admin')
-rw-r--r-- | routers/admin/admin.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go index c0f39f71..f1f951ef 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -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 |