We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent def498c commit 4de8eefCopy full SHA for 4de8eef
src/client/index.jsx
@@ -55,7 +55,10 @@ export default async function Launch({
55
const stamp = shortId();
56
const links = document.querySelectorAll('link[rel=stylesheet]');
57
for (let i = 0; i < links.length; i += 1) {
58
- links[i].href = `${links[i].href.match(/[^?]*/)}?v=${stamp}`;
+ const link = links[i];
59
+ if (link.href.startsWith('/')) {
60
+ link.href = `${link.href.match(/[^?]*/)}?v=${stamp}`;
61
+ }
62
}
63
hotSuccess();
64
};
0 commit comments