Skip to content

Commit 345fcc7

Browse files
committed
fix(system): use same scheme
1 parent 9dde96a commit 345fcc7

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/client/polyfills/system.js

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/compiler/component-lazy/generate-system.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ for (var x = allScripts.length - 1; x >= 0; x--) {
6161
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
6262
var start = function() {
6363
var url = new URL('${corePath}', resourcesUrl);
64-
System.import('//' + url.host + url.pathname);
64+
System.import(url.href);
6565
};
6666
6767
if (win.__stencil_cssshim) {

0 commit comments

Comments
 (0)