-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only apply metadata manifest credentials for preview deployment (#64940)
### What Follow up for #62873 Only apply credentials in metadata manifest tag for preview deployment ### Why When the CORS header is "\*" and if you're including credentials in request it will block by browser. For manifest's case, if it's fetching from a publich CDN with responsing the CORS header "\*" and mismatching with the current website domain it will get blocked. Previously we introduced that change mostly for vercel deployment auth protection, now we're going to check if it's preview deployment and also the same origin, if yes then we'll include credentails for manifest request Closes NEXT-3208
- Loading branch information
Showing
3 changed files
with
26 additions
and
4 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
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
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