Add TimeToLeave feature checklist and plan (50)

Add TimeToLeave feature checklist and plan
This commit is contained in:
2026-05-12 13:17:17 +02:00
parent eac4f6e216
commit 1851d2ed47
45 changed files with 2234 additions and 259 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ const nextConfig: NextConfig = {
};
// Validate environment variables at build time
if (process.env.NODE_ENV === 'production') {
if (process.env.NODE_ENV === 'production' && !process.env.SKIP_ENV_VALIDATION) {
if (!process.env.CORS_ALLOWED_ORIGINS) {
throw new Error('Missing CORS_ALLOWED_ORIGINS environment variable in production');
}