Update index.html

This commit is contained in:
FURK4NGG
2024-09-09 16:38:51 +03:00
committed by GitHub
parent 2149d59ed6
commit 7bdbc6ac6b
+2 -2
View File
@@ -17,9 +17,9 @@
document.addEventListener('DOMContentLoaded', () => {
const userLang = navigator.language || navigator.userLanguage;
if (userLang.startsWith('tr')) {
window.location.href = 'hometr.html';
window.location.replace('hometr.html');
} else {
window.location.href = 'home.html';
window.location.replace('home.html');
}
});