chat worksgit add .!

This commit is contained in:
emil28092005
2026-01-08 00:10:58 +03:00
parent 48d5e396d7
commit 04646192bc
3 changed files with 99 additions and 1 deletions
+4
View File
@@ -22,5 +22,9 @@ func main() {
router.GET("/api/rooms", func(c *gin.Context) {
c.JSON(200, gin.H{"rooms": "TODO"})
})
router.Static("/static", "./static")
router.GET("/", func(c *gin.Context) {
c.File("./static/index.html")
})
router.Run(":8080")
}