make HTTP error an interface
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M domain/web/website.go → domain/web/website.go
@@ -208,7 +208,7 @@ mux.HandleFunc("/calendar", website.Calendar) website.identity.RegisterHandlers(mux) if opts.Development { - staticHandler := func(w http.ResponseWriter, r *http.Request) *ihttp.Error { + staticHandler := func(w http.ResponseWriter, r *http.Request) ihttp.Error { http.ServeFileFS(w, r, templates.Files, r.URL.Path) return nil