next.js
6f5e0f36 - Don't emit crossorigin attributes for `output: "export"` by default (#61211)

Commit
2 years ago
Don't emit crossorigin attributes for `output: "export"` by default (#61211) In other output modes, link and script tags do not contain a crossorigin attribute by default. When using output: "export", it should also follow the other output modes, to avoid unnecessary CORS issues, especially when hosting the assets on a different domain (i.e. a CDN). fixes #61210 Co-authored-by: Steven <steven@ceriously.com>
Author
Parents
Loading