2017-01-03 18:44:40 +01:00
|
|
|
<?php
|
2021-02-14 03:39:15 +01:00
|
|
|
|
2017-01-03 18:44:40 +01:00
|
|
|
return [
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Laravel CORS
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| allowedOrigins, allowedHeaders and allowedMethods can be set to array('*')
|
|
|
|
| to accept any value.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
'supportsCredentials' => true,
|
|
|
|
'allowedOrigins' => ['localhost:3000', 'pony.fm', 'stage.pony.fm'],
|
|
|
|
'allowedHeaders' => ['*'],
|
|
|
|
'allowedMethods' => ['*'],
|
|
|
|
'exposedHeaders' => [],
|
|
|
|
'maxAge' => 0,
|
|
|
|
'hosts' => [],
|
|
|
|
];
|