fix: WithPath on NewCookieHandler set domain instead!

This commit is contained in:
David Sharnoff 2022-11-07 15:40:15 -08:00
parent 454c17c18f
commit f49406ec35

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
}
}