rsnext/errors/doc-crossorigin-deprecated.mdx
Delba de Oliveira 44d1a1cb15
docs: Migrate error messages to MDX and App Router. (#52038)
This PR is part of a larger effort to migrate error messages to MDX and
use App Router: https://github.com/vercel/front/pull/23459
2023-07-05 06:11:16 -07:00

21 lines
400 B
Text

---
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:
```js filename="next.config.js"
module.exports = {
crossOrigin: 'anonymous',
}
```
## Useful Links
- [The issue this was reported in: #5674](https://github.com/vercel/next.js/issues/5674)