appease the linter
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M internal/website/mux.go → internal/website/mux.go
@@ -45,7 +45,7 @@ func (website *Website) ServeHTTP(w http.ResponseWriter, r *http.Request) *ihttp.Error { urlPath, shouldRedirect := website.reader.CanonicalisePath(r.URL.Path) if shouldRedirect { website.counter.Count(r, "302") - http.Redirect(w, r, urlPath, 302) + http.Redirect(w, r, urlPath, http.StatusFound) return nil }