diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-03-25 20:13:51 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-03-25 20:13:51 -0400 |
| commit | a57f2b35d6c8e5106a04b3dca7b7aa218cc815d2 (patch) | |
| tree | 3dd00fa4f59daf66ff1e72c7e1d65076abd743b0 | |
| parent | e8dc037281654a46a142d19e66504778e497d7f8 (diff) | |
| download | anubis-a57f2b35d6c8e5106a04b3dca7b7aa218cc815d2.tar.xz anubis-a57f2b35d6c8e5106a04b3dca7b7aa218cc815d2.zip | |
lib: use cookie name consistently
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | lib/anubis.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
