Better HTTP caching

This commit is contained in:
NI
2019-08-27 15:43:38 +08:00
parent 526fe55d91
commit 6cfc5b0e07
5 changed files with 23 additions and 49 deletions

View File

@@ -31,5 +31,5 @@ func serveFailure(
) error {
w.WriteHeader(err.Code())
return serveStaticPage("error.html", w, r, l)
return serveStaticPage("error.html", ".html", w, r, l)
}