update webhook fix
This commit is contained in:
@@ -44,12 +44,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
|
||||
// ==========================================
|
||||
|
||||
// Environment
|
||||
define('USE_PRODUCTION', false); // Use test webhook for debugging
|
||||
define('DEBUG_MODE', true); // Enable debug to see errors
|
||||
define('USE_PRODUCTION', true); // Use production webhook for live server
|
||||
define('DEBUG_MODE', false); // Disable debug for production
|
||||
|
||||
// N8N Webhooks
|
||||
define('WEBHOOK_TEST', 'https://n8n.profice.de/webhook-test/8658d57e-2348-4046-90a5-7551708f8d50');
|
||||
define('WEBHOOK_PROD', 'https://n8n.profice.de/webhook/8658d57e-2348-4046-90a5-7551708f8d50');
|
||||
define('WEBHOOK_TEST', 'https://n8n.profice.de/webhook-test/d94ef798-3f43-46dd-8207-1e335e64518f');
|
||||
define('WEBHOOK_PROD', 'https://n8n.profice.de/webhook/d94ef798-3f43-46dd-8207-1e335e64518f');
|
||||
define('WEBHOOK_URL', USE_PRODUCTION ? WEBHOOK_PROD : WEBHOOK_TEST);
|
||||
|
||||
// Google Analytics
|
||||
|
||||
Reference in New Issue
Block a user