This commit is contained in:
Lizandro Guarnizo
2025-02-06 14:49:52 -05:00
parent 6d8f1bcd6f
commit 6442e46f13
7 changed files with 126 additions and 46 deletions
+18
View File
@@ -0,0 +1,18 @@
package routes
import (
"github.com/gofiber/fiber/v2"
"github.com/sujit-baniya/fiber-boilerplate/rest/controllers"
"github.com/sujit-baniya/fiber-boilerplate/rest/middlewares"
)
func RutasPublicas(web fiber.Router) {
//web.Get("/", controllers.Landing)
web.Get("/index", controllers.Index)
web.Get("/ping", Pong)
web.Get("/all-routes", AllRoutes)
web.Get("/do/verify-email", middlewares.ValidateConfirmToken, controllers.VerifyRegisteredEmail)
}