diff --git a/handlers/home.go b/handlers/home.go index c9d03f0..d9a1144 100644 --- a/handlers/home.go +++ b/handlers/home.go @@ -17,7 +17,7 @@ func Home(client *ent.Client) echo.HandlerFunc { sess, _ := session.Get(setting.SessionCookieName(), c) if sess == nil { log.Info("no session, redirecting to /signin", "endpoint", "/home") - return c.Redirect(http.StatusMovedPermanently, "/signin") + return c.Redirect(http.StatusSeeOther, "/signin") } if sess.Values["foo"] != nil {