From cd3c0abc7100554a18719e90e1e6b62aa149cb7a Mon Sep 17 00:00:00 2001
From: Angus Hollands <goosey15@gmail.com>
Date: Tue, 3 Sep 2024 12:53:48 +0100
Subject: [PATCH] Revert "fix: disable security for cookie"

This reverts commit 8b9b8b2ebd2ec558ec95ee8bfb115aef97ed0d24.
---
 packages/site/src/loaders/theme.server.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/site/src/loaders/theme.server.ts b/packages/site/src/loaders/theme.server.ts
index 73241027..ecfab719 100644
--- a/packages/site/src/loaders/theme.server.ts
+++ b/packages/site/src/loaders/theme.server.ts
@@ -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: '/',