prod preps

This commit is contained in:
overcuriousity
2025-07-26 10:41:50 +02:00
parent 10331b9ece
commit a9c15eb9c6
3 changed files with 392 additions and 487 deletions

View File

@@ -11,7 +11,6 @@ config();
// JWT session constants
const SECRET_KEY = new TextEncoder().encode(
process.env.AUTH_SECRET ||
process.env.OIDC_CLIENT_SECRET ||
'cc24-hub-default-secret-key-change-in-production'
);
const SESSION_DURATION = 6 * 60 * 60; // 6 hours in seconds