Skip to content

Commit 7b5cf01

Browse files
committed
feat: fastify cookie version up
1 parent f8abd2d commit 7b5cf01

File tree

3 files changed

+38
-69
lines changed

3 files changed

+38
-69
lines changed

packages/velog-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@aws-sdk/s3-request-presigner": "^3.473.0",
3636
"@elastic/elasticsearch": "7.3.0",
3737
"@fastify/autoload": "^5.7.1",
38-
"@fastify/cookie": "^8.3.0",
38+
"@fastify/cookie": "^9.3.1",
3939
"@fastify/cors": "^8.3.0",
4040
"@fastify/formbody": "^7.4.0",
4141
"@graphql-tools/graphql-file-loader": "^8.0.0",

packages/velog-server/src/lib/jwt/JwtService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class JwtService {
6363
},
6464
{
6565
subject: 'access_token',
66-
expiresIn: '1',
66+
expiresIn: '1d',
6767
},
6868
)
6969

0 commit comments

Comments
 (0)