fix(server): cookieが設定されないのを修正
This commit is contained in:
parent
9cda400c80
commit
3b7c943440
4 changed files with 4 additions and 4 deletions
|
@ -112,7 +112,7 @@ export class TwitterServerService {
|
|||
|
||||
this.redisClient.set(sessid, JSON.stringify(twCtx));
|
||||
|
||||
reply.cookies.set('signin_with_twitter_sid', sessid, {
|
||||
reply.setCookie('signin_with_twitter_sid', sessid, {
|
||||
path: '/',
|
||||
secure: this.config.url.startsWith('https'),
|
||||
httpOnly: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue