Update: 2026-05-15 15:26:05
This commit is contained in:
@@ -51,6 +51,7 @@ if ($providedKey !== $expectedApiKey) {
|
||||
}
|
||||
|
||||
// Extra Security: App Signature Fingerprint Validation (Optional)
|
||||
/*
|
||||
$expectedSignatures = $_ENV['APP_SIGNATURE_SHA256'] ?? null;
|
||||
if (!empty($expectedSignatures)) {
|
||||
$providedSignature = $headers['X-App-Signature'] ?? ($headers['x-app-signature'] ?? null);
|
||||
@@ -68,6 +69,7 @@ if (!empty($expectedSignatures)) {
|
||||
exit;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
$host = $_ENV['DB_HOST'] ?? 'localhost';
|
||||
$dbname = $_ENV['DB_NAME'] ?? 'jordan_bot_db';
|
||||
|
||||
Reference in New Issue
Block a user