mirror_match/lib/constants.ts
ilia bc4a6b93b6 Add rebuild scripts and HelpModal component
- Introduced `rebuild.sh` script for streamlined application rebuild and server management in both production and development modes.
- Created `REBUILD.md` documentation for quick start instructions and detailed steps for rebuilding the application.
- Added `HelpModal` component to provide users with in-app guidance on how to play the MirrorMatch game, including features, tips, and keyboard shortcuts.
- Updated `layout.tsx` to include the `HelpModal` for user accessibility.
- Adjusted authentication handling in `auth.ts` to ensure proper cookie management based on environment settings.
2026-01-04 21:31:37 -05:00

11 lines
286 B
TypeScript

/**
* Application-wide constants
*/
/**
* NextAuth session cookie name
* Must match the cookie name defined in lib/auth.ts
* For HTTP (localhost), no prefix. For HTTPS, Auth.js will add __Secure- prefix automatically.
*/
export const SESSION_COOKIE_NAME = "authjs.session-token"