Update index.html

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