use builtin error interface for http handlers
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M domain/web/website.go → domain/web/website.go
@@ -189,7 +189,7 @@ website.publisher.RegisterHandlers(mux) } if opts.Development { - staticHandler := func(w http.ResponseWriter, r *http.Request) ihttp.Error { + staticHandler := func(w http.ResponseWriter, r *http.Request) error { http.ServeFileFS(w, r, templates.Files, r.URL.Path) return nil