diff options
Diffstat (limited to 'api')
| -rw-r--r-- | api/serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/serve.go b/api/serve.go index 2cddcfd..f71001d 100644 --- a/api/serve.go +++ b/api/serve.go @@ -78,7 +78,7 @@ func MakeServer(argv *args.Arguments, dbConn *sql.DB) *http.Server { mux := http.NewServeMux() fileServer := http.FileServer(http.Dir(argv.StaticPath)) - mux.Handle("/static/", http.StripPrefix("/static/", CacheControlMiddleware(fileServer, 3600))) + mux.Handle("GET /static/", http.StripPrefix("/static/", CacheControlMiddleware(fileServer, 3600))) makeRequestContext := func() *RequestContext { return &RequestContext{ |
