Add error.html

This commit is contained in:
NI
2019-08-27 17:24:37 +08:00
parent d688e9ec42
commit 8fe5d677ec
6 changed files with 123 additions and 19 deletions

View File

@@ -29,5 +29,5 @@ type home struct {
}
func (h home) Get(w http.ResponseWriter, r *http.Request, l log.Logger) error {
return serveStaticPage("index.html", ".html", w, r, l)
return serveStaticCachePage("index.html", ".html", w, r, l)
}