fix(server): cookieが設定されないのを修正
This commit is contained in:
@@ -43,7 +43,7 @@ export class SigninService {
|
||||
|
||||
if (redirect) {
|
||||
//#region Cookie
|
||||
reply.cookies.set('igi', user.token!, {
|
||||
reply.setCookie('igi', user.token!, {
|
||||
path: '/',
|
||||
// SEE: https://github.com/koajs/koa/issues/974
|
||||
// When using a SSL proxy it should be configured to add the "X-Forwarded-Proto: https" header
|
||||
|
Reference in New Issue
Block a user