Fix whitespace via go fmt

This commit is contained in:
Pavol Rusnak
2022-07-11 12:47:45 +02:00
parent 152373e87d
commit 97abfe6178

View File

@@ -117,7 +117,7 @@ func (controller *HomeController) Home(c echo.Context) error {
if err != nil {
return err
}
c.Response().Header().Set(echo.HeaderCacheControl, "public, max-age=300, stale-if-error=21600") // cache for 5 minutes or if error for 6 hours max
c.Response().Header().Set(echo.HeaderCacheControl, "public, max-age=300, stale-if-error=21600") // cache for 5 minutes or if error for 6 hours max
return c.HTMLBlob(http.StatusOK, buf.Bytes())
}