| 12345678910111213141516171819202122232425262728 |
- <?php
- declare(strict_types=1);
- /**
- * Configuration Audit Express Self
- *
- * Pour surcharger en local : créer config/config.local.php (ignoré par git)
- * et définir les clés à modifier.
- */
- return [
- // URLs (à adapter selon l'environnement)
- 'booking_url' => 'https://cal.com/augustin.podvin/decouvrir-les-opportunites-suite-a-mon-audit',
- 'devis_url' => 'mailto:contact@livinweb.fr?subject=Demande%20de%20devis%20%E2%80%94%20Audit%20Express',
- // Sécurité
- 'max_body_bytes' => 1_048_576, // 1 Mo pour les requêtes JSON
- 'rate_limit' => [
- 'notify' => ['requests' => 10, 'window' => 60], // 10 req/min
- 'score' => ['requests' => 30, 'window' => 60], // 30 req/min
- 'pdf' => ['requests' => 20, 'window' => 60], // 20 req/min
- 'email' => ['requests' => 10, 'window' => 60], // 10 req/min
- ],
- 'allowed_notify_tools' => ['process-mapper'], // Liste blanche pour notify.php
- // Webhook appelé à chaque submit (score, pdf, email) — Make, Zapier ou endpoint custom
- 'admin_notify_webhook' => 'https://hook.eu1.make.com/hwpp9vg8i8sw32wroqfb1y1923vb6plp',
- ];
|