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() { ...@@ -381,7 +381,7 @@ func initBeforeHttpRun() {
381 middleware.RegisterErrorHandler() 381 middleware.RegisterErrorHandler()
382 382
383 for u, _ := range StaticDir { 383 for u, _ := range StaticDir {
384 Get(u, serverStaticRouter) 384 Get(u+"/*", serverStaticRouter)
385 } 385 }
386 } 386 }
387 387
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!