oh no! I'm reload

This commit is contained in:
2025-11-30 22:34:08 +08:00
parent 48fc7287a6
commit c0a7a46474

View File

@@ -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);