修复跳转BUG

pull/358/head
lifei6671 2018-07-25 17:57:18 +08:00
parent 3e9e5558ab
commit 137019789e
1 changed files with 1 additions and 2 deletions

View File

@ -35,8 +35,7 @@ func init() {
beego.InsertFilter("/book", beego.BeforeRouter, FilterUser)
beego.InsertFilter("/book/*", beego.BeforeRouter, FilterUser)
beego.InsertFilter("/api/*", beego.BeforeRouter, FilterUser)
beego.InsertFilter("/blogs", beego.BeforeRouter,FilterUser)
beego.InsertFilter("/blogs/*", beego.BeforeRouter,FilterUser)
beego.InsertFilter("/manage/*", beego.BeforeRouter,FilterUser)
var FinishRouter = func(ctx *context.Context) {
ctx.ResponseWriter.Header().Add("MinDoc-Version", conf.VERSION)