aboutsummaryrefslogtreecommitdiff
path: root/route/routes
diff options
context:
space:
mode:
authorFChannel <>2022-07-03 14:49:37 -0700
committerFChannel <>2022-07-03 14:49:37 -0700
commitb0261cf6c6298f472cfca8ae75e6d01ed39b421e (patch)
tree2da26aef184db239bdc5a354aba25b9eb19d310a /route/routes
parent29df6cc944fb4928c2900bbf4ccc8a026dc2f867 (diff)
security issue
Diffstat (limited to 'route/routes')
-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{