Proxy.php aktualisiert

This commit is contained in:
2026-07-17 20:11:36 +00:00
parent 348e4dc21b
commit 2e0f0f00a9
-1
View File
@@ -7,7 +7,6 @@ header('Access-Control-Allow-Origin: Domainname'); // Hier sollte immer nur ein
header('Access-Control-Allow-Methods: GET, OPTIONS'); header('Access-Control-Allow-Methods: GET, OPTIONS');
header('Access-Control-Allow-Headers: Content-Type, Authorization'); header('Access-Control-Allow-Headers: Content-Type, Authorization');
// Preflight abfangen
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') { if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') {
http_response_code(200); http_response_code(200);
exit(); exit();