CS
This commit is contained in:
@@ -6,5 +6,4 @@ use Fruitcake\Cors\HandleCors as Middleware;
|
|||||||
|
|
||||||
class HandleCors extends Middleware
|
class HandleCors extends Middleware
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,27 +33,27 @@ return [
|
|||||||
*/
|
*/
|
||||||
'allowed_origins' => ['*'],
|
'allowed_origins' => ['*'],
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Matches the request origin with, similar to `Request::is()`
|
* Matches the request origin with, similar to `Request::is()`
|
||||||
*/
|
*/
|
||||||
'allowed_origins_patterns' => [],
|
'allowed_origins_patterns' => [],
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Sets the Access-Control-Allow-Headers response header. `[*]` allows all headers.
|
* Sets the Access-Control-Allow-Headers response header. `[*]` allows all headers.
|
||||||
*/
|
*/
|
||||||
'allowed_headers' => ['*'],
|
'allowed_headers' => ['*'],
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Sets the Access-Control-Expose-Headers response header.
|
* Sets the Access-Control-Expose-Headers response header.
|
||||||
*/
|
*/
|
||||||
'exposed_headers' => false,
|
'exposed_headers' => false,
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Sets the Access-Control-Max-Age response header.
|
* Sets the Access-Control-Max-Age response header.
|
||||||
*/
|
*/
|
||||||
'max_age' => false,
|
'max_age' => false,
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Sets the Access-Control-Allow-Credentials header.
|
* Sets the Access-Control-Allow-Credentials header.
|
||||||
*/
|
*/
|
||||||
'supports_credentials' => false,
|
'supports_credentials' => false,
|
||||||
|
|||||||
Reference in New Issue
Block a user