Skip to content

Commit c7feb52

Browse files
authored
Update README.md (#91)
1 parent 46db52e commit c7feb52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ use Asm89\Stack\Cors;
7070
$app = new Cors($app, [
7171
// you can use ['*'] to allow any headers
7272
'allowedHeaders' => ['x-allowed-header', 'x-other-allowed-header'],
73-
// you can use array('*') to allow any methods
73+
// you can use ['*'] to allow any methods
7474
'allowedMethods' => ['DELETE', 'GET', 'POST', 'PUT'],
75-
// you can use array('*') to allow requests from any origin
75+
// you can use ['*'] to allow requests from any origin
7676
'allowedOrigins' => ['localhost'],
7777
// you can enter regexes that are matched to the origin request header
7878
'allowedOriginsPatterns' => ['/localhost:\d/'],

0 commit comments

Comments
 (0)