Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 7dcfb1a

Browse files
authored
Clarify patterns
Fixes #453
1 parent dbb02ec commit 7dcfb1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ return [
7979
'allowed_methods' => ['*'],
8080

8181
/*
82-
* Matches the request origin. `[*]` allows all origins.
82+
* Matches the request origin. `[*]` allows all origins. Wildcards can be used, eg `*.mydomain.com`
8383
*/
8484
'allowed_origins' => ['*'],
8585

8686
/*
87-
* Matches the request origin with, similar to `Request::is()`
87+
* Patterns that can be used with `preg_match` to match the origin.
8888
*/
8989
'allowed_origins_patterns' => [],
9090

0 commit comments

Comments
 (0)