oh no! I'm reload
This commit is contained in:
@@ -13,6 +13,7 @@ function route() {
|
|||||||
if (!currentHash || currentHash === "/") {
|
if (!currentHash || currentHash === "/") {
|
||||||
const browserLang = getBrowserLanguage();
|
const browserLang = getBrowserLanguage();
|
||||||
window.location.href = `#/${browserLang}/index.html`;
|
window.location.href = `#/${browserLang}/index.html`;
|
||||||
|
window.location.reload();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
isRouting = false;
|
isRouting = false;
|
||||||
}, 50);
|
}, 50);
|
||||||
|
|||||||
Reference in New Issue
Block a user