blob: 2000853a310536dcf5b78b91e85115b48338341b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { createCookieSessionStorage } from "@remix-run/node";
export const sessionStorage = createCookieSessionStorage({
cookie: {
name: "albatross_session",
sameSite: "lax",
path: "/",
httpOnly: true,
secrets: ["TODO"],
// secure: process.env.NODE_ENV === "production",
secure: false, // TODO
},
});
|