diff options
Diffstat (limited to 'route')
-rw-r--r-- | route/routes/admin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/route/routes/admin.go b/route/routes/admin.go index 81b9946..0b05fbf 100644 --- a/route/routes/admin.go +++ b/route/routes/admin.go @@ -50,7 +50,7 @@ func AdminVerify(ctx *fiber.Ctx) error { body := string(rBody) if resp.StatusCode != 200 { - return ctx.Redirect("/"+config.Key, http.StatusPermanentRedirect) + return ctx.Redirect("/", http.StatusPermanentRedirect) } ctx.Cookie(&fiber.Cookie{ |