mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
append bundle script to body (#353)
This commit is contained in:
parent
7ee6b0f4b0
commit
249a0c4007
|
@ -45,7 +45,7 @@ function createClientScript ({ dev, cdn }) {
|
|||
script.onload = function () { fn(null) }
|
||||
script.onerror = fn
|
||||
script.crossorigin = 'anonymous'
|
||||
document.head.appendChild(script)
|
||||
document.body.appendChild(script)
|
||||
}
|
||||
})()
|
||||
`}} />
|
||||
|
|
Loading…
Reference in a new issue