1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 11:11:36 +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() middleware.RegisterErrorHandler()
for u, _ := range StaticDir { for u, _ := range StaticDir {
Get(u, serverStaticRouter) Get(u+"/*", serverStaticRouter)
} }
} }