Initial V2 commit
This commit is contained in:
25
config/cors.php
Normal file
25
config/cors.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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,
|
||||
];
|
||||
Reference in New Issue
Block a user