镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

feat: add preventTouch option to Session.save method - #1084

Open
poacher2k wants to merge 1 commit into
expressjs:masterfrom
poacher2k:master
Open

poacher2k wants to merge 1 commit into
expressjs:masterfrom
poacher2k:master

Conversation

@poacher2k

Copy link
Copy Markdown

Fixes #870 by adding an optional preventTouch parameter to Session.save which will prevent store.touch from being called, res from being accessed, and Next.js from complaining.

Fully backwards compatible, and tests pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support autoCommit=false for Next.js v12 compatibility

1 participant