aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/anubis.go2
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)