From 70701bb8f1c5f25171670bc9e5b04e364142751c Mon Sep 17 00:00:00 2001 From: igor Date: Thu, 2 Apr 2026 08:23:39 +0200 Subject: [PATCH] allowed header Authorization --- src/APIlite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/APIlite.php b/src/APIlite.php index c316985..093fd1f 100644 --- a/src/APIlite.php +++ b/src/APIlite.php @@ -293,7 +293,7 @@ class APIlite header('Access-Control-Allow-Origin: ' . $origin); header('Access-Control-Allow-Credentials: true'); 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); exit; }