summaryrefslogtreecommitdiff
path: root/packages/backend/src/server/api/integration/GithubServerService.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-12-06 14:14:41 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-12-06 14:14:41 +0900
commit3b7c94344053e601d64abea9d7eaa7e15a32cd4d (patch)
tree9f1d909ff359aba1a10245336992b4af9075d1a2 /packages/backend/src/server/api/integration/GithubServerService.ts
parentfix(server): GitHub連携ができない問題を修正 (diff)
downloadsharkey-3b7c94344053e601d64abea9d7eaa7e15a32cd4d.tar.gz
sharkey-3b7c94344053e601d64abea9d7eaa7e15a32cd4d.tar.bz2
sharkey-3b7c94344053e601d64abea9d7eaa7e15a32cd4d.zip
fix(server): cookieが設定されないのを修正
Diffstat (limited to 'packages/backend/src/server/api/integration/GithubServerService.ts')
-rw-r--r--packages/backend/src/server/api/integration/GithubServerService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/server/api/integration/GithubServerService.ts b/packages/backend/src/server/api/integration/GithubServerService.ts
index 186748dab5..e6c42e1eeb 100644
--- a/packages/backend/src/server/api/integration/GithubServerService.ts
+++ b/packages/backend/src/server/api/integration/GithubServerService.ts
@@ -120,7 +120,7 @@ export class GithubServerService {
state: uuid(),
};
- reply.cookies.set('signin_with_github_sid', sessid, {
+ reply.setCookie('signin_with_github_sid', sessid, {
path: '/',
secure: this.config.url.startsWith('https'),
httpOnly: true,