Finish migration
This commit is contained in:
@ -53,13 +53,13 @@ func initRouter(app *fiber.App) {
|
||||
app.Get("/", handlers.Home)
|
||||
app.Get("/about", handlers.About)
|
||||
|
||||
// interactiveRouter := router.Group("/interactive")
|
||||
// {
|
||||
// interactiveRouter.GET("", handlers.Interactive)
|
||||
// interactiveRouter.GET("/swap-content", handlers.InteractiveSwapContent)
|
||||
// interactiveRouter.GET("/filter-cat-breeds", handlers.FilterCatBreeds)
|
||||
// interactiveRouter.POST("/validate-form", handlers.ValidateForm)
|
||||
// }
|
||||
interactiveGroup := app.Group("/interactive")
|
||||
{
|
||||
interactiveGroup.Get("", handlers.Interactive)
|
||||
interactiveGroup.Get("/swap-content", handlers.InteractiveSwapContent)
|
||||
interactiveGroup.Get("/filter-cat-breeds", handlers.FilterCatBreeds)
|
||||
interactiveGroup.Post("/validate-form", handlers.ValidateForm)
|
||||
}
|
||||
|
||||
app.Static("/static", STATIC_PATH)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user