mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
30 lines
805 B
PHP
30 lines
805 B
PHP
<?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' => ['*'],
|
|
'allowedHeaders' => ['X-Cachet-Token'],
|
|
'allowedMethods' => ['*'],
|
|
'exposedHeaders' => [],
|
|
'maxAge' => 3600,
|
|
'hosts' => [],
|
|
];
|