Files
intaleq_v2/config/cors.php
2026-04-22 21:59:56 +03:00

26 lines
597 B
PHP

<?php
return [
'paths' => ['v2/*'],
'allowed_methods' => ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
'allowed_origins' => [
'https://intaleq.xyz',
'https://admin.intaleq.xyz',
'https://api-v2.intaleq.xyz',
],
'allowed_origins_patterns' => [],
'allowed_headers' => [
'Content-Type',
'Authorization',
'X-API-Key',
'X-Timestamp',
'X-Signature',
'X-Nonce',
'Accept',
'X-Requested-With',
],
'exposed_headers' => [],
'max_age' => 86400,
'supports_credentials' => false,
];