Commit 7c0d0900 authored by astaxie's avatar astaxie

beego:fix static file router

parent 6809c976
......@@ -381,7 +381,7 @@ func initBeforeHttpRun() {
middleware.RegisterErrorHandler()
for u, _ := range StaticDir {
Get(u, serverStaticRouter)
Get(u+"/*", serverStaticRouter)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment