FeedGine launch
This commit is contained in:
68
config.php
Normal file
68
config.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
/**
|
||||
* Feedgine — Centralized Credentials & Configuration
|
||||
* ALL SENSITIVE DATA IS STORED HERE — NOT VISIBLE TO CLIENT
|
||||
*
|
||||
* Include this file in send.php: require_once dirname(__DIR__, 2) . '/config.php';
|
||||
*/
|
||||
|
||||
// ============================================================
|
||||
// ENVIRONMENT
|
||||
// ============================================================
|
||||
define('USE_PRODUCTION', false); // set to true on live server
|
||||
define('DEBUG_MODE', true); // set to false on live server
|
||||
|
||||
// ============================================================
|
||||
// N8N WEBHOOKS
|
||||
// ============================================================
|
||||
define('FEEDGINE_WEBHOOK_TEST', 'https://n8n.support-space.de/webhook-test/REPLACE_WITH_FEEDGINE_WEBHOOK');
|
||||
define('FEEDGINE_WEBHOOK_PROD', 'https://n8n.support-space.de/webhook/REPLACE_WITH_FEEDGINE_WEBHOOK');
|
||||
define('FEEDGINE_WEBHOOK_URL', USE_PRODUCTION ? FEEDGINE_WEBHOOK_PROD : FEEDGINE_WEBHOOK_TEST);
|
||||
|
||||
// KI Chat Webhook
|
||||
define('KI_CHAT_WEBHOOK_TEST', 'https://n8n.support-space.de/webhook-test/8a25bce2-ff83-4676-a3a2-a0e1174fcffe');
|
||||
define('KI_CHAT_WEBHOOK_PROD', 'https://n8n.support-space.de/webhook/8a25bce2-ff83-4676-a3a2-a0e1174fcffe');
|
||||
define('KI_CHAT_WEBHOOK_URL', USE_PRODUCTION ? KI_CHAT_WEBHOOK_PROD : KI_CHAT_WEBHOOK_TEST);
|
||||
|
||||
// ============================================================
|
||||
// GOOGLE
|
||||
// ============================================================
|
||||
define('GA_MEASUREMENT_ID', 'G-XXXXXXXXXX'); // Google Analytics 4 Measurement ID
|
||||
define('GA_API_SECRET', ''); // GA4 Measurement Protocol API Secret
|
||||
define('GTM_CONTAINER_ID', 'GTM-XXXXXXX'); // Google Tag Manager container ID
|
||||
define('GADS_CONVERSION_ID', 'AW-XXXXXXXXXX'); // Google Ads Conversion ID
|
||||
define('GADS_CONVERSION_LABEL', ''); // Google Ads Conversion Label
|
||||
|
||||
// Flowise Chatbot
|
||||
define('FLOWISE_CHATFLOW_ID', 'd63d3d02-b5fa-482c-9161-c21c615fb625');
|
||||
define('FLOWISE_API_HOST', 'https://flowise.profice.de');
|
||||
|
||||
// ============================================================
|
||||
// META / FACEBOOK
|
||||
// ============================================================
|
||||
define('FB_PIXEL_ID', ''); // Facebook Pixel ID
|
||||
define('FB_ACCESS_TOKEN', ''); // Facebook Conversions API Access Token
|
||||
|
||||
// ============================================================
|
||||
// LINKEDIN
|
||||
// ============================================================
|
||||
define('LINKEDIN_PARTNER_ID', '');
|
||||
|
||||
// ============================================================
|
||||
// GENERAL API SECURITY
|
||||
// ============================================================
|
||||
define('API_SECRET_KEY', 'REPLACE_WITH_STRONG_RANDOM_KEY');
|
||||
define('RATE_LIMIT_REQUESTS', 100); // max requests per window
|
||||
define('RATE_LIMIT_WINDOW', 3600); // window in seconds (1 hour)
|
||||
|
||||
// ============================================================
|
||||
// ALLOWED ORIGINS (CORS)
|
||||
// ============================================================
|
||||
define('ALLOWED_ORIGINS', serialize([
|
||||
'https://feedgine.de',
|
||||
'https://www.feedgine.de',
|
||||
'https://profice.ai',
|
||||
'https://www.profice.ai',
|
||||
'http://localhost',
|
||||
'http://127.0.0.1',
|
||||
]));
|
||||
Reference in New Issue
Block a user