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
Hi, changing the function of the Response.cookie() method would be a breaking change hence it is planned for the next major update which is in the works and will bring closer compatibility.
Line:
hyper-express/src/components/http/Response.js
Line 241 in eb0b467
hyper-express:
cookie(name, value, expiry, options, sign_cookie = true)
vs
express:
res.cookie(name, value [, options])
http://expressjs.com/en/4x/api.html#res.cookieAlso
options.expires
in express accepts Date for when it should expire, while hyper-express accepts Number of milliseconds before expiryThe text was updated successfully, but these errors were encountered: