mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2025-12-18 07:25:58 +00:00
Update api.go
This commit is contained in:
parent
3c9cda56d4
commit
2d48af0882
@ -42,7 +42,7 @@ func RegisterRoutes(ctx context.Context, wg *sync.WaitGroup, engine *html.Engine
|
|||||||
//c.Request().Header.Add("X-Real-IP", c.IP())
|
//c.Request().Header.Add("X-Real-IP", c.IP())
|
||||||
//return nil
|
//return nil
|
||||||
req_code, req_body, req_errs := c.String()
|
req_code, req_body, req_errs := c.String()
|
||||||
log.Printf("REQUEST: %s", req_body)
|
log.Printf("RESPONSE: %s | %s | %s ", req_code, req_body, req_errs)
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
ModifyResponse: func(c *fiber.Ctx) error {
|
ModifyResponse: func(c *fiber.Ctx) error {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user