mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-18 17:48:00 +08:00
修复二级子目录BUG
This commit is contained in:
@@ -24,7 +24,7 @@ func init() {
|
||||
|
||||
ctx.ResponseWriter.Write(returnJSON)
|
||||
} else {
|
||||
ctx.Redirect(302, beego.URLFor("AccountController.Login") + "?url=" + url.PathEscape(ctx.Request.URL.RequestURI()))
|
||||
ctx.Redirect(302, conf.URLFor("AccountController.Login") + "?url=" + url.PathEscape(conf.BaseUrl + ctx.Request.URL.RequestURI()))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user