add forkof to gists

This commit is contained in:
medanisjbara
2023-03-28 14:05:33 +01:00
parent e89c298c5d
commit b9db8fb9d5
+1 -1
View File
@@ -109,7 +109,7 @@ func Serve(port string) {
utils.ProxyRequest(c, "https://avatars.githubusercontent.com/u/"+c.Params("id")+"?v=4")
return nil
})
app.Get("/:user/:repo", ratelimiter, func(c *fiber.Ctx) error {
app.Get("/:user/:repo", func(c *fiber.Ctx) error {
u, err := url.Parse(c.Request().URI().String())
if err != nil {
return err