Update interactive
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user