Files
sign/apps/remix/app/storage/lang-cookie.server.ts

7 lines
146 B
TypeScript
Raw Normal View History

2025-01-02 15:33:37 +11:00
import { createCookie } from 'react-router';
export const langCookie = createCookie('lang', {
path: '/',
maxAge: 60 * 60 * 24 * 365 * 2,
});