doc-crossorigin-deprecated.mdx
title: 'Head or NextScript attribute crossOrigin is deprecated'
Why This Error Occurred
This option has been moved to next.config.js.
Possible Ways to Fix It
Add the config option:
module.exports = {
crossOrigin: 'anonymous',
}
Useful Links
Rendered from the public repository vercel/next.js on GitHub; content belongs to its authors. Cached for up to an hour.