diff --git a/cmd/http-server/main.go b/cmd/http-server/main.go index 7475a08..28b34d9 100644 --- a/cmd/http-server/main.go +++ b/cmd/http-server/main.go @@ -44,6 +44,7 @@ func main() { api := r.Group("/api") { api.GET("/ping", handlers.PingGet) + api.GET("/authping", middleware.AuthMiddleware(), handlers.PingGet) userRoutes := api.Group("/user") { userRoutes.POST("/register", handlers.UserRegister)