Skip to content

Commit

Permalink
Update cors-settings.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrinks99 committed Dec 24, 2023
1 parent 3502677 commit 741bad6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docs/develop/cors-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ These settings apply whenever archived items are hosted on a different domain th

The minimum requirement is to return: `Access-Control-Allow-Origin: https://replayweb.page` and most CORS settings include at least this option.

## Differences between Chrome, Firefox, and Safari
## Differences Between Chrome, Firefox, and Safari

Unfortunately, different browsers have diverged in how they handle enforcing CORS policies.
Unfortunately, browsers have diverged in how they handle enforcing CORS policies.

Firefox and Safari sometimes send a [pre-flight OPTIONS request](https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request) when handling ReplayWeb.page requests, because the ReplayWeb.page uses the `Range` header.

Expand All @@ -25,7 +25,7 @@ by setting `Access-Control-Allow-Headers: '*'` as part of the CORS response in a

## CORS Configurations for Common Hosting Environments

The following provides different ways of configuring CORS for different hosting environments. For more examples of CORS configurations for different servers, see: [https://enable-cors.org/](https://enable-cors.org/)
The following section provides suggested CORS configurations for different hosting environments. For more examples of CORS configurations for different servers, see: [https://enable-cors.org/](https://enable-cors.org/)

### S3 and Compatible Configurations

Expand Down

0 comments on commit 741bad6

Please sign in to comment.