From a57f2b35d6c8e5106a04b3dca7b7aa218cc815d2 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Tue, 25 Mar 2025 20:13:51 -0400 Subject: lib: use cookie name consistently Signed-off-by: Xe Iaso --- lib/anubis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/anubis.go b/lib/anubis.go index aeaa6a9..6b5a1e3 100644 --- a/lib/anubis.go +++ b/lib/anubis.go @@ -247,7 +247,7 @@ func (s *Server) MaybeReverseProxy(w http.ResponseWriter, r *http.Request) { return } - ckie, err := r.Cookie(anubis.CookieName) + ckie, err := r.Cookie(s.opts.CookieName) if err != nil { lg.Debug("cookie not found", "path", r.URL.Path) s.ClearCookie(w) -- cgit v1.2.3