session icon indicating copy to clipboard operation
session copied to clipboard

Add secure cookie flag to readme

Open rianadon opened this issue 7 years ago • 1 comments

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!

rianadon avatar Jan 02 '19 00:01 rianadon

Yes, this would have been very useful for me too.

balazsnemeth avatar Dec 31 '19 14:12 balazsnemeth