We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bed652 commit acd0d75Copy full SHA for acd0d75
main.go
@@ -247,7 +247,7 @@ func main() {
247
})
248
249
// Serve the rest of the routes from the static directory.
250
- router.PathPrefix("/static/").Handler(http.FileServer(http.Dir(staticDirectory)))
+ router.PathPrefix("/static/").Handler(http.StripPrefix("/static", http.FileServer(http.Dir(staticDirectory))))
251
252
// Setup the server, with:
253
// Add combined logging handler
0 commit comments