Skip to content

Commit

Permalink
redirect removal
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Sep 26, 2024
1 parent 17c2ff3 commit 5ed5d5d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions handler/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -433,11 +433,12 @@ func fixes(e *echo.Echo) *echo.Echo {
fixes.GET("/"+releaser.Obfuscate("RSS"), func(c echo.Context) error {
return c.Redirect(code, g+releaser.Obfuscate("renaissance"))
})
fixes.GET("/public-enemy*tristar-ampersand-red-sector-inc*the-dream-team", func(c echo.Context) error {
return c.Redirect(code, g+"pe*trsi*tdt")
})
fixes.GET("/the-dream-team*tristar-ampersand-red-sector-inc", func(c echo.Context) error {
return c.Redirect(code, g+"coop")
})
// THESE ARE NOT WORKING, /the-dream-team/, /public-enemy/ get redirected
// fixes.GET(`/public-enemy*tristar-ampersand-red-sector-inc*the-dream-team`, func(c echo.Context) error {
// return c.Redirect(code, g+"pe*trsi*tdt")
// })
// fixes.GET(`/the-dream-team*tristar-ampersand-red-sector-inc`, func(c echo.Context) error {
// return c.Redirect(code, g+"coop")
// })
return e
}

0 comments on commit 5ed5d5d

Please sign in to comment.