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
With a recent update to the cookie dependency, the expires value must be valid when setting cookies. pouchdb-server does not limit the timeout config option, which if too big causes Express to set an invalid date. This also causes an uncaught and hard to troubleshoot error.
Unhelpful Error that bubbles: Cannot read properties of undefined (reading 'getSecurity')
Suggestions:
I created a PR to better bubble errors and be more tolerant of high timeouts.
I also created a PR in Express to better tolerate high maxAges
The text was updated successfully, but these errors were encountered:
With a recent update to the
cookie
dependency, theexpires
value must be valid when setting cookies.pouchdb-server
does not limit thetimeout
config option, which if too big causes Express to set an invalid date. This also causes an uncaught and hard to troubleshoot error.Unhelpful Error that bubbles:
Cannot read properties of undefined (reading 'getSecurity')
Suggestions:
The text was updated successfully, but these errors were encountered: