fix: persist theme cookie for a much longer time (#1693)

This commit is contained in:
Ephraim Duncan
2025-03-12 05:09:37 +00:00
committed by GitHub
parent fec078081b
commit 8d6bf91d12
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ const themeSessionStorage = createCookieSessionStorage({
secrets: ['insecure-secret-do-not-care'],
secure: useSecureCookies,
domain: getCookieDomain(),
maxAge: 60 * 60 * 24 * 365,
},
});

2
package-lock.json generated
View File

@ -42172,4 +42172,4 @@
}
}
}
}
}