Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting path #1

Closed
nickbasham opened this issue Feb 16, 2021 · 2 comments
Closed

Add support for setting path #1

nickbasham opened this issue Feb 16, 2021 · 2 comments

Comments

@nickbasham
Copy link

Unless specified, browsers will set a cookie's path to the current relative path. It would be great to either set the default path to root and/or allow the ability to set the path.

@cferdinandi
Copy link
Owner

This is probably overdone, but I just pushed a major version bump (now v1.x), that defaults to the root path, and supports an object of cookie options. Documentation updated to match.

@nickbasham-grayloon
Copy link

Awesome, thanks, Chris!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants