aboutsummaryrefslogtreecommitdiff
path: root/route/routes/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'route/routes/admin.go')
-rw-r--r--route/routes/admin.go2
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{