Skip to content

Commit cf08000

Browse files
authored
Update README.md
1 parent f79340f commit cf08000

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
@@ -57,8 +57,8 @@ use Fruitcake\Cors\CorsService;
5757
$cors = new CorsService([
5858
'allowedHeaders' => ['x-allowed-header', 'x-other-allowed-header'],
5959
'allowedMethods' => ['DELETE', 'GET', 'POST', 'PUT'],
60-
'allowedOrigins' => ['http://localhost'],
61-
'allowedOriginsPatterns' => ['/localhost:\d/', 'https://*.example.com'],
60+
'allowedOrigins' => ['http://localhost', 'https://*.example.com'],
61+
'allowedOriginsPatterns' => ['/localhost:\d/'],
6262
'exposedHeaders' => ['Content-Encoding'],
6363
'maxAge' => false,
6464
'supportsCredentials' => false,

0 commit comments

Comments
 (0)