7c0d0900 by astaxie

beego:fix static file router

1 parent 6809c976
Showing 1 changed file with 1 additions and 1 deletions
......@@ -381,7 +381,7 @@ func initBeforeHttpRun() {
middleware.RegisterErrorHandler()
for u, _ := range StaticDir {
Get(u, serverStaticRouter)
Get(u+"/*", serverStaticRouter)
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!