fix: WithPath on NewCookieHandler set domain instead! (#240)

This commit is contained in:
David Sharnoff 2022-11-14 07:58:36 -08:00 committed by GitHub
parent 0596d83b33
commit 89d1c90bf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ func WithDomain(domain string) CookieHandlerOpt {
func WithPath(path string) CookieHandlerOpt {
return func(c *CookieHandler) {
c.domain = path
c.path = path
}
}