Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Dec 26, 2019
1 parent e4683c6 commit c222f6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion app/Http/Middleware/HandleCors.php
Expand Up @@ -6,5 +6,4 @@

class HandleCors extends Middleware
{

}
10 changes: 5 additions & 5 deletions config/cors.php
Expand Up @@ -33,27 +33,27 @@
*/
'allowed_origins' => ['*'],

/**
/*
* Matches the request origin with, similar to `Request::is()`
*/
'allowed_origins_patterns' => [],

/**
/*
* Sets the Access-Control-Allow-Headers response header. `[*]` allows all headers.
*/
'allowed_headers' => ['*'],

/**
/*
* Sets the Access-Control-Expose-Headers response header.
*/
'exposed_headers' => false,

/**
/*
* Sets the Access-Control-Max-Age response header.
*/
'max_age' => false,

/**
/*
* Sets the Access-Control-Allow-Credentials header.
*/
'supports_credentials' => false,
Expand Down

0 comments on commit c222f6d

Please sign in to comment.