Skip to content

crossOrigin

使用 crossOrigin 选项在 next/scriptnext/head 组件生成的所有 <script> 标签中添加 crossOrigin 属性,并定义如何处理跨域请求。

¥Use the crossOrigin option to add a crossOrigin attribute in all <script> tags generated by the next/script and next/headcomponents, and define how cross-origin requests should be handled.

选项

¥Options