Update index.html
This commit is contained in:
+2
-2
@@ -17,9 +17,9 @@
|
|||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const userLang = navigator.language || navigator.userLanguage;
|
const userLang = navigator.language || navigator.userLanguage;
|
||||||
if (userLang.startsWith('tr')) {
|
if (userLang.startsWith('tr')) {
|
||||||
window.location.replace('hometr.html');
|
window.location.replace('/hometr.html');
|
||||||
} else {
|
} else {
|
||||||
window.location.replace('home.html');
|
window.location.replace('/home.html');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user