feat(index.html): update "failed to load the page" msg
Also adds a link to reload manually.
This commit is contained in:
parent
a4dcf5f8df
commit
d9017b2665
|
@ -63,6 +63,10 @@
|
|||
|
||||
var delay = Math.pow(2, retryCount) * 2000;
|
||||
|
||||
document.body.innerHTML +=
|
||||
"<br/> The page will reload shortly... "
|
||||
+ "<a href='" + href + "' >(reload)</a>";
|
||||
|
||||
window.setTimeout(
|
||||
function () { window.location.replace(href); }, delay);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue