Update api.go

This commit is contained in:
mycodedoesnotcompile2 2025-12-13 11:56:33 +00:00 committed by GitHub
parent 500eca390f
commit 3e95bb581e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,6 +44,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
//req_code, req_body, req_errs := c.Request().String() //req_code, req_body, req_errs := c.Request().String()
//log.Printf("RESPONSE: %s | %s | %s ", req_code, req_body, req_errs) //log.Printf("RESPONSE: %s | %s | %s ", req_code, req_body, req_errs)
//log.Printf("REQUEST: %s", c.Request().Body()) //log.Printf("REQUEST: %s", c.Request().Body())
log.Printf("RESP: %s", string(c.Request().String()))
return nil return nil
}, },
ModifyResponse: func(c *fiber.Ctx) error { ModifyResponse: func(c *fiber.Ctx) error {