Skip to content

Commit

Permalink
Update import path in spa-shim.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
blueagler committed Mar 5, 2024
1 parent 780e50a commit fee1893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/qwik-city/runtime/src/spa-shim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const shim = async (path: string, symbol: string) => {
const imp = new Function('url', 'return import(url)');
(await imp(url.href))[symbol](currentScript);
} else {
(await import(path))[symbol](currentScript);
(await import(url.href))[symbol](currentScript);
}
}
};

0 comments on commit fee1893

Please sign in to comment.