refactor: 修改跨域返回头中允许Authorization暴露

This commit is contained in:
2025-03-29 15:35:11 +08:00
parent 0bcc8cc105
commit 20df43c95d
3 changed files with 7 additions and 3 deletions

View File

@@ -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' => [],
'exposed_headers' => ['Authorization'],
'max_age' => 7200,
'supports_credentials' => true,
];