fix: WithPath on NewCookieHandler set domain instead! (#240)
This commit is contained in:
parent
0596d83b33
commit
89d1c90bf2
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ func WithDomain(domain string) CookieHandlerOpt {
|
|||
|
||||
func WithPath(path string) CookieHandlerOpt {
|
||||
return func(c *CookieHandler) {
|
||||
c.domain = path
|
||||
c.path = path
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue