From a385b194b9c4bc267d34c434683764dfaaaf785d Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 11 May 2023 05:07:53 +0200 Subject: [PATCH] handlers/home: render success with StatusOK --- handlers/home.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/home.go b/handlers/home.go index d9a1144..742e7bf 100644 --- a/handlers/home.go +++ b/handlers/home.go @@ -62,7 +62,7 @@ func Home(client *ent.Client) echo.HandlerFunc { ) } - err := c.Render(http.StatusInternalServerError, "home.tmpl", + err := c.Render(http.StatusOK, "home.tmpl", page{ AppName: setting.AppName(), AppVer: appver,