Update index.html
This commit is contained in:
+2
-2
@@ -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');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user