You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
829 B
32 lines
829 B
<?php |
|
|
|
/* |
|
* This file is part of Cachet. |
|
* |
|
* (c) Alt Three Services Limited |
|
* |
|
* For the full copyright and license information, please view the LICENSE |
|
* file that was distributed with this source code. |
|
*/ |
|
|
|
return [ |
|
|
|
/* |
|
|-------------------------------------------------------------------------- |
|
| Laravel CORS |
|
|-------------------------------------------------------------------------- |
|
| |
|
| allowedOrigins, allowedHeaders and allowedMethods can be set to array('*') |
|
| to accept any value. |
|
| |
|
*/ |
|
|
|
'supportsCredentials' => false, |
|
'allowedOrigins' => ['*'], |
|
'allowedOriginsPatterns' => [], |
|
'allowedHeaders' => ['X-Cachet-Token'], |
|
'allowedMethods' => ['*'], |
|
'exposedHeaders' => [], |
|
'maxAge' => 3600, |
|
|
|
];
|
|
|