diff --git a/pkg/router/auth.go b/pkg/router/auth.go index 293ee58..42d9f69 100644 --- a/pkg/router/auth.go +++ b/pkg/router/auth.go @@ -15,5 +15,4 @@ func RegisterAuthRoutes(api *echo.Group) { api.GET("/dashboard", controllers.LoadDashboard) //Timer - api.GET("/getTime", controllers.GetTime) } diff --git a/pkg/router/public.go b/pkg/router/public.go index 853b825..50d711b 100644 --- a/pkg/router/public.go +++ b/pkg/router/public.go @@ -13,6 +13,7 @@ func RegisterPublicRoutes(e *echo.Echo, taskClient *asynq.Client) { return controllers.CallbackUrl(c, taskClient) }) e.GET("/docs", controllers.Docs) + e.GET("/getTime", controllers.GetTime) e.POST("/signup", controllers.Signup) e.POST("/login", controllers.Login) e.POST("/refreshToken", controllers.RefreshToken)