Commit 015b0a9d authored by Faris Abusada's avatar Faris Abusada Committed by Tim Neutkens

Fixes dynamic chunks preload links, use `href` instead of `src` (#5047)

😬... 

https://w3c.github.io/preload/
parent d0df0e49
......@@ -70,7 +70,7 @@ export class Head extends Component {
return <link
rel='preload'
key={bundle.file}
src={`${assetPrefix}/_next/${bundle.file}`}
href={`${assetPrefix}/_next/${bundle.file}`}
as='script'
nonce={this.props.nonce}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment