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
Showing
Please
register
or
sign in
to comment