rsnext/errors/doc-crossorigin-deprecated.md
Tim Neutkens 3e51ddb8af
Move syntax formatting to prettier (#7454)
* Run prettier over packages/**/*.js

* Run prettier over packages/**/*.ts

* Run prettier over examples

* Remove tslint

* Run prettier over examples

* Run prettier over all markdown files

* Run prettier over json files
2019-05-29 13:57:26 +02:00

380 B

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:

// next.config.js
module.exports = {
  crossOrigin: 'anonymous',
}