llmbackend/config/cors.php
2024-12-09 15:12:07 +08:00

19 lines
409 B
PHP

<?php
return [
'paths' => ['api/*'],
'allowed_methods' => ['*'],
'allowed_origins' => ['*'],
'allowed_origins_patterns' => [],
'allowed_headers' => [
'Content-Type',
'X-Requested-With',
'Authorization',
'X-API-Version',
'X-Client-ID',
'Accept',
],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => true,
];