Skip to content

Commit

Permalink
Merge pull request #13 from cookiebody/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Dean Karn authored Apr 19, 2017
2 parents 702b13d + bba1e0c commit 18f11ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ l.Get("/user/:id", UserHandler)

// serve css, js etc.. c.Param(lars.WildcardParam) will return the remaining path if
// you need to use it in a custom handler...
l.Get("/static/*", http.FileServer(http.Dir("static/")))
l.Get("/static/*", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))

...
```
Expand Down

0 comments on commit 18f11ab

Please sign in to comment.