Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 22f894d

Browse files
committed
Merge pull request #415 from Munter/accept-header
Add module/x-module-loader-module as Accept header
2 parents a6ee774 + 337f631 commit 22f894d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/system-fetch.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
};
4848
xhr.open("GET", url, true);
4949

50+
xhr.setRequestHeader('Accept', 'module/x-module-loader-module */*');
51+
5052
if (doTimeout)
5153
setTimeout(function() {
5254
xhr.send();

0 commit comments

Comments
 (0)