next.js
86274e68 - fix(#53190): add missing crossOrigin to assetsPrefix resources (#56311)

Commit
2 years ago
fix(#53190): add missing crossOrigin to assetsPrefix resources (#56311) Fixes #53190. Next.js App Router comprises two categories of resources, same-origin ones (RSC payload, in the form of inline `<script />`) and possibly third-party ones (chunks that respect the `assetPrefix`). The latter should also respect the `crossOrigin` option from `next.config.js`. Co-authored-by: Jiachi Liu <4800338+huozhi@users.noreply.github.com>
Author
Parents
Loading