diff --git a/main.go b/main.go index 2dd4019f..2068fa9a 100644 --- a/main.go +++ b/main.go @@ -247,7 +247,7 @@ func main() { }) // Serve the rest of the routes from the static directory. - router.PathPrefix("/static/").Handler(http.FileServer(http.Dir(staticDirectory))) + router.PathPrefix("/static/").Handler(http.StripPrefix("/static", http.FileServer(http.Dir(staticDirectory)))) // Setup the server, with: // Add combined logging handler