1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-13 08:23:32 +00:00

beego:fix static file router

This commit is contained in:
astaxie 2014-06-11 01:19:39 +08:00
parent 6809c97611
commit 7c0d0900ac

View File

@ -381,7 +381,7 @@ func initBeforeHttpRun() {
middleware.RegisterErrorHandler()
for u, _ := range StaticDir {
Get(u, serverStaticRouter)
Get(u+"/*", serverStaticRouter)
}
}