Cookie formatting
paulvonber opened this issue · comments
Paul G commented
Describe the change
When using example from documentation cookie somehow get wrongly formatted:
But if I add maxAge
to cookie
object then everything is ok, so not sure if documentation is wrong or it's a bug.
URLs
https://h3.unjs.io/examples/handle-session#options
Additional information
- Would you be willing to help?
Nozomu Ikuta commented
Would you provide a minimal reproduction so that people can check both of wrongly and well formatted cookie, like, by commenting out a line of code?