Skip to content

Commit

Permalink
docs: update a link to wildcard explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
damienwebdev committed Apr 10, 2023
1 parent 9a9e3f2 commit 05e5f7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/stories/configuring-the-headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ return [
];
```

> You can also optionally set the `cors_allowed_origins` key to `*` if you want to allow ALL origins access to the resource, but we strongly suggest you [understand the ramifications of this before doing so.](/docs/stories/security.md)
> You can also optionally set the `cors_allowed_origins` key to `*` if you want to allow ALL origins access to the resource, but we strongly suggest you [understand the ramifications of this before doing so.](/docs/stories/no-wild-card.md)
Note also that the CORS specification disallows a wildcard for Allowed Origins if the `cors_allow_credentials` flag is enabled. If this is the case, the server will instead echo the request Origin back as the Allow-Origin value.


## Examples
* [PWAs (Angular, PWA Studio, etc)](./examples/pwa-configuration.php)
* [PWAs (Angular, PWA Studio, etc)](./examples/pwa-configuration.php)

0 comments on commit 05e5f7b

Please sign in to comment.