Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.production.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ REDIS_CACHE_TTL_SECONDS=60
JWT_SECRET=CHANGE_ME_min_32_chars_random_string_here
JWT_REFRESH_SECRET=CHANGE_ME_another_min_32_chars_random_string

JWT_EXPIRES_IN=1h
JWT_EXPIRES_IN=2h
JWT_REFRESH_EXPIRES_IN=7d

# Frontend URL (for CORS)
Expand Down
2 changes: 1 addition & 1 deletion backend/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const envSchema = z.object({
DATABASE_URL: z.string(),
JWT_SECRET: z.string().min(10),
JWT_REFRESH_SECRET: z.string().min(10),
JWT_EXPIRES_IN: z.string().default('1h'),
JWT_EXPIRES_IN: z.string().default('2h'),
JWT_REFRESH_EXPIRES_IN: z.string().default('7d'),
PORT: z.coerce.number().default(3101),
NODE_ENV: z.enum(['development', 'production', 'test', 'e2e']).default('development'),
Expand Down
Loading