Update interactive

This commit is contained in:
Eden Kirin
2024-01-21 14:32:32 +01:00
parent 26635bbff1
commit 728d37faba
12 changed files with 1280 additions and 251 deletions

View File

@ -22,6 +22,12 @@ func initRouter() *gin.Engine {
router.GET("/", handlers.Home)
router.GET("/about", handlers.About)
interactiveRouter := router.Group("/interactive")
{
interactiveRouter.GET("", handlers.Interactive)
interactiveRouter.GET("/swap-content", handlers.InteractiveSwapContent)
}
router.Use(static.Serve("/static", static.LocalFile(STATIC_PATH, false)))
return router