feat: add automated crons, telemetry cleanup, RTL support, and manual road candidate tools

This commit is contained in:
Hamza-Ayed
2026-07-15 17:14:01 +03:00
parent 0bb609d5a2
commit 7a64be5833
6 changed files with 353 additions and 161 deletions
+2 -1
View File
@@ -108,7 +108,8 @@ export class AuthService {
tenant = await this.tenantRepository.save({
name,
email,
isActive: true
isActive: true,
plan: TenantPlan.ENTERPRISE,
});
}
+4 -2
View File
@@ -19,9 +19,11 @@ async function bootstrap() {
// Apply standard HTTP security headers
app.use(helmet());
// 1. Modern Security Headers & Permissive CORS for Production Dashboard
// 1. Strict Security Headers & Restricted CORS
app.enableCors({
origin: true, // Reflect request origin
origin: process.env.ALLOWED_ORIGINS
? process.env.ALLOWED_ORIGINS.split(',')
: ['http://localhost:3204', 'http://localhost:5173', 'https://map-saas.intaleqapp.com'],
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS',
credentials: true,
});