Files
orico-official-website/config/cors.php
2025-01-17 10:44:51 +08:00

13 lines
453 B
PHP

<?php
return [
'paths' => ['*'],
'allowed_origins' => ['*'],
'allowed_origins_patterns' => [],
'allowed_methods' => ['GET', 'POST', 'DELETE', 'PUT', 'OPTIONS'],
'allowed_headers' => ['Content-Type', 'Authorization', 'Refresh-Authorization', 'Content-Disposition'],
'exposed_headers' => [],
'max_age' => 7200,
'supports_credentials' => true,
];