Skip to content

Commit

Permalink
fix: disable security for cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Sep 3, 2024
1 parent ccf49dd commit 8b9b8b2
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: true,
secure: false,
secrets: ['secret'],
sameSite: 'lax',
path: '/',
Expand Down

0 comments on commit 8b9b8b2

Please sign in to comment.