diff --git a/http/http.go b/http/http.go index 64ad48c..f6f284f 100644 --- a/http/http.go +++ b/http/http.go @@ -96,7 +96,7 @@ func (h *Handler) verifyLogin(c *gin.Context) (budgeteer.Token, error) { func (h *Handler) login(c *gin.Context) { if _, err := h.verifyLogin(c); err == nil { - c.Redirect(http.StatusTemporaryRedirect, "/api/v1/hello") + c.Redirect(http.StatusTemporaryRedirect, "/dashboard") return } @@ -105,7 +105,7 @@ func (h *Handler) login(c *gin.Context) { func (h *Handler) register(c *gin.Context) { if _, err := h.verifyLogin(c); err == nil { - c.Redirect(http.StatusTemporaryRedirect, "/api/v1/hello") + c.Redirect(http.StatusTemporaryRedirect, "/dashboard") return }