feat: started with bonus hp feature
This commit is contained in:
4
main.go
4
main.go
@@ -6,7 +6,6 @@ import (
|
||||
|
||||
"github.com/gofiber/fiber/v3"
|
||||
"github.com/gofiber/fiber/v3/middleware/compress"
|
||||
"github.com/gofiber/fiber/v3/middleware/logger"
|
||||
"github.com/itsig0/tallytome/handler"
|
||||
)
|
||||
|
||||
@@ -23,7 +22,7 @@ func main() {
|
||||
|
||||
// compression baby
|
||||
app.Use(compress.New())
|
||||
app.Use(logger.New())
|
||||
//app.Use(logger.New())
|
||||
|
||||
app.Static("/", "./public")
|
||||
|
||||
@@ -34,6 +33,7 @@ func main() {
|
||||
tracker.Post("/update", handler.TrackerUpdate)
|
||||
tracker.Post("/damage", handler.TrackerDamage)
|
||||
tracker.Post("/mana", handler.TrackerMana)
|
||||
tracker.Post("/bonus-hp", handler.TrackerBonusHP)
|
||||
tracker.Get("/newround", handler.TrackerRound)
|
||||
tracker.Get("/reset", handler.TrackerReset)
|
||||
// app.Get("/*", func(c *fiber.Ctx) error {
|
||||
|
||||
Reference in New Issue
Block a user