tubearchivist-frontend/app/cookies.ts

6 lines
126 B
TypeScript

import { createCookie } from "@remix-run/node";
export const csrfCookie = createCookie("csrftoken", {
maxAge: 604_800,
});