From c61c76a1fe40060e063db24fa51fbb39c0631e02 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Tue, 1 Apr 2025 14:44:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E8=B7=A8?= =?UTF-8?q?=E5=9F=9F=E6=9A=B4=E9=9C=B2=E7=9A=84header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/cors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cors.php b/config/cors.php index b685d4e6..ada32518 100644 --- a/config/cors.php +++ b/config/cors.php @@ -6,7 +6,7 @@ return [ 'allowed_origins_patterns' => [], 'allowed_methods' => ['GET', 'POST', 'DELETE', 'PUT', 'OPTIONS'], 'allowed_headers' => ['Content-Type', 'Authorization', 'Refresh-Authorization', 'Content-Disposition'], - 'exposed_headers' => ['Authorization'], + 'exposed_headers' => ['Authorization', 'Refresh-Authorization', 'Content-Disposition'], 'max_age' => 7200, 'supports_credentials' => true, ];