تحديث شامل للوحة التحكم وإضافة كافة الميزات للـ WebSidebar

This commit is contained in:
Hamza-Ayed
2026-07-26 03:22:47 +03:00
parent 5ec54c03f5
commit 2bacb1b9e1
16 changed files with 80 additions and 63 deletions
+4 -7
View File
@@ -7,14 +7,11 @@
require_once __DIR__ . '/core/bootstrap.php';
header('Content-Type: application/json');
header('Access-Control-Allow-Origin: https://siromove.com');
header('Access-Control-Allow-Methods: POST, OPTIONS');
header('Access-Control-Allow-Headers: Content-Type, Authorization');
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
http_response_code(200);
exit;
}
try {
$limiter = new RateLimiter($redis);