baseUrlField
It's really useful。
var ctrl_sess = session({
secret: 'abc',
cookie: {
httpOnly: true,
baseUrlField: true
}
});
app.use('/:corpid', ctrl_sess);
I think The role of equal subdomain
Hi! Bro, It's been a year, I still use my fork. Let's merge it. pls.
Hi @hezedu I'm sorry this PR has been left to rot. I am trying to get it rebased to get it landed, though, I guess better late than never.
I'm not able to rebase the PR, though:
! [remote rejected] pr-262 -> master (permission denied)
error: failed to push some refs to '[email protected]:hezedu/base_url_session.git'
Can you check the box so I can push? https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork
It's too long. I don't use my fork anymore and delete it. It adds only three lines: https://github.com/expressjs/session/commit/880fe48e3d0a542ba7b8d17557dcef29d111b847
You can do it by youself.