Skip to content

Commit

Permalink
fix(frontend): add default secret to toast session storage
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Jan 31, 2025
1 parent 79dd313 commit 24d80b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/app/lib/utilities.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export const toastSessionStorage = createCookieSessionStorage({
cookie: {
sameSite: "lax",
path: "/",
secrets: (process.env.SESSION_SECRET || "").split(","),
secrets: (process.env.SESSION_SECRET || "secret").split(","),
name: toastKey,
},
});
Expand Down

0 comments on commit 24d80b8

Please sign in to comment.