1
0
Fork 0

Found that in an Error() func status code wasn't set. Fixed that.

This commit is contained in:
Alexander Andreev 2023-08-05 04:54:52 +04:00
parent c2278fdd2e
commit b513a5ff1d
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ func Error(w http.ResponseWriter, r *http.Request, code int, reason string) {
return
}
w.WriteHeader(code)
web.ErrorXXX(utils.MainSite(r.Host), code, reason, w)
}