next.js
4a53582e - fix(image): preload should respect crossOrigin (#40676)

Commit
3 years ago
fix(image): preload should respect crossOrigin (#40676) ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` Currently, `link[rel=preload]` inserted by `priority` will not have the `crossOrigin` attribute, which will cause the preloaded response not to be used, since the CORS policy mismatches. The PR fixes that.
Author
Parents
Loading