mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
22 lines
582 B
PHP
22 lines
582 B
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Laravel CORS
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| allowedOrigins, allowedHeaders and allowedMethods can be set to array('*')
|
|
| to accept any value.
|
|
|
|
|
*/
|
|
|
|
'supportsCredentials' => false,
|
|
'allowedOrigins' => ['*'],// ex: ['abc.com', 'api.abc.com']
|
|
'allowedHeaders' => ['*'],
|
|
'allowedMethods' => ['*'],// ex: ['GET', 'POST', 'PUT', 'DELETE']
|
|
'exposedHeaders' => [],
|
|
'maxAge' => 0,
|
|
|
|
]; |