From 5ed5d5d30d8861477d0d2848392e7e4955eee283 Mon Sep 17 00:00:00 2001 From: Code by Ben Date: Thu, 26 Sep 2024 15:10:15 +1000 Subject: [PATCH] redirect removal --- handler/router.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/handler/router.go b/handler/router.go index 9231e8cf..6a8619e9 100644 --- a/handler/router.go +++ b/handler/router.go @@ -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 }