Multiple pages

This commit is contained in:
Eden Kirin
2024-01-21 01:18:56 +01:00
parent 1bfc72b44b
commit 42ac91ce64
13 changed files with 342 additions and 25 deletions

View File

@ -20,6 +20,8 @@ func initRouter() *gin.Engine {
router.Use(corsMiddleware())
router.GET("/", handlers.Home)
router.GET("/about", handlers.About)
router.Use(static.Serve("/static", static.LocalFile(STATIC_PATH, false)))
return router