Skip to content

Commit 746e016

Browse files
committed
add session secret for signing
1 parent 43ceb63 commit 746e016

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/routes/resources+/theme/theme-session.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export const sessionStorage = createCookieSessionStorage({
66
sameSite: 'lax',
77
path: '/',
88
httpOnly: true,
9+
secrets: [process.env.SESSION_SECRET],
910
secure: process.env.NODE_ENV === 'production',
1011
},
1112
})

0 commit comments

Comments
 (0)