You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to utilize Koa's secure so that generated cookies were only sent over HTTPS, but the readme was somewhat unclear whether this was supported.
It looks like all options given in the module's configuration are passed to Koa's ctx.cookies.set method, so setting this flag is already possible, but it would be helpful to add secure to the CONFIG example given in the readme.
Thanks!
The text was updated successfully, but these errors were encountered:
I wanted to utilize Koa's
secure
so that generated cookies were only sent over HTTPS, but the readme was somewhat unclear whether this was supported.It looks like all options given in the module's configuration are passed to Koa's
ctx.cookies.set
method, so setting this flag is already possible, but it would be helpful to addsecure
to theCONFIG
example given in the readme.Thanks!
The text was updated successfully, but these errors were encountered: