Add /api/authping endpoint

This commit is contained in:
qowevisa 2024-11-06 19:43:20 +02:00
parent 155deb889c
commit fdc3ca101c

View File

@ -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)