mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
add forkof to gists
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user