- 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.
11 lines
286 B
TypeScript
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"
|