Skip to content

Commit

Permalink
✨ feat: 쿠키 sameSite 옵션 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
xjfcnfw3 committed Nov 21, 2024
1 parent 46ba8aa commit 1554926
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/src/configs/session.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export const sessionConfig = {
resave: false,
saveUninitialized: false,
name: process.env.COOKIE_NAME,
secure: true,
sameSite: 'none',
cookie: {
maxAge: Number(process.env.COOKIE_MAX_AGE),
},
Expand Down

0 comments on commit 1554926

Please sign in to comment.