diff options
author | FChannel <> | 2022-07-03 14:49:37 -0700 |
---|---|---|
committer | FChannel <> | 2022-07-03 14:49:37 -0700 |
commit | b0261cf6c6298f472cfca8ae75e6d01ed39b421e (patch) | |
tree | 2da26aef184db239bdc5a354aba25b9eb19d310a /route/routes/admin.go | |
parent | 29df6cc944fb4928c2900bbf4ccc8a026dc2f867 (diff) |
security issue
Diffstat (limited to 'route/routes/admin.go')
-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{ |