diff --git a/beego.go b/beego.go index 950d8e7f..80718604 100644 --- a/beego.go +++ b/beego.go @@ -381,7 +381,7 @@ func initBeforeHttpRun() { middleware.RegisterErrorHandler() for u, _ := range StaticDir { - Get(u, serverStaticRouter) + Get(u+"/*", serverStaticRouter) } }