mirror of https://github.com/mindoc-org/mindoc.git
修复跳转BUG
parent
3e9e5558ab
commit
137019789e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue