This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly allow requests from public websites via new header
- Chrome now enforces that servers on private networks explicitly grant access to public websites using a new header "Access-Control-Allow-Private-Network" that should be sent in responses to preflight OPTIONS requests. - This change implements special handling for OPTIONS requests by sending all the existing CORS headers along with the new Access-Control-Allow-Private-Network header if private network access is being requested. - See https://developer.chrome.com/blog/private-network-access-preflight/ for more info.
- Loading branch information
1 parent
7136a15
commit 1d09305
Showing
1 changed file
with
71 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters