No longer cache the landing page (/). This will resolve the problems caused by page caches
This commit is contained in:
@@ -29,5 +29,5 @@ type home struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (h home) Get(w http.ResponseWriter, r *http.Request, l log.Logger) error {
|
func (h home) Get(w http.ResponseWriter, r *http.Request, l log.Logger) error {
|
||||||
return serveStaticCachePage("index.html", w, r, l)
|
return serveStaticPage("index.html", http.StatusOK, w, r, l)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user