Skip to content

Commit

Permalink
Revert "fix: disable security for cookie"
Browse files Browse the repository at this point in the history
This reverts commit 8b9b8b2.
  • Loading branch information
agoose77 committed Sep 3, 2024
1 parent f17bf82 commit cd3c0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/site/src/loaders/theme.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { ActionFunction } from '@remix-run/node';
export const themeStorage = createCookieSessionStorage({
cookie: {
name: 'theme',
secure: false,
secure: true,
secrets: ['secret'],
sameSite: 'lax',
path: '/',
Expand Down

0 comments on commit cd3c0ab

Please sign in to comment.