Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 4e50e70

Browse files
committed
fix: GET request not HEAD
License: MIT Signed-off-by: Alan Shaw <alan@tableflip.io>
1 parent baf2ecd commit 4e50e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/runtime/preload-browser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = function preload (url, callback) {
1111

1212
const req = new self.XMLHttpRequest()
1313

14-
req.open('HEAD', url)
14+
req.open('GET', url)
1515

1616
req.onreadystatechange = function () {
1717
if (this.readyState !== this.DONE) {

0 commit comments

Comments
 (0)