1 Commits

Author SHA1 Message Date
70701bb8f1 allowed header Authorization 2026-04-02 08:23:39 +02:00

View File

@ -293,7 +293,7 @@ class APIlite
header('Access-Control-Allow-Origin: ' . $origin); header('Access-Control-Allow-Origin: ' . $origin);
header('Access-Control-Allow-Credentials: true'); header('Access-Control-Allow-Credentials: true');
header('Access-Control-Allow-Methods: GET, POST, OPTIONS'); header('Access-Control-Allow-Methods: GET, POST, OPTIONS');
header('Access-Control-Allow-Headers: Origin, Content-Type, Accept'); header('Access-Control-Allow-Headers: Origin, Content-Type, Accept, Authorization');
echo json_encode($arr); echo json_encode($arr);
exit; exit;
} }