diff --git a/pkg/http/cookie.go b/pkg/http/cookie.go index 4949b77..1ebc9e2 100644 --- a/pkg/http/cookie.go +++ b/pkg/http/cookie.go @@ -59,7 +59,7 @@ func WithDomain(domain string) CookieHandlerOpt { func WithPath(path string) CookieHandlerOpt { return func(c *CookieHandler) { - c.domain = path + c.path = path } }