Update index.html

This commit is contained in:
FURK4NGG
2024-09-09 16:02:14 +03:00
committed by GitHub
parent 98a0ca914e
commit 7101494e1f
+2 -2
View File
@@ -19,10 +19,10 @@
// Eğer tarayıcı dili Türkçe ise /tr/index.html sayfasına yönlendir
if (userLang.startsWith('tr')) {
window.location.href = 'hometr.html';
window.location.href = '/hometr.html';
} else {
// Eğer İngilizceyse /en/index.html sayfasına yönlendir
window.location.href = 'home.html';
window.location.href = '/home.html';
}
const disabledKeys = ["c", "C", "x", "J", "u", "I"]; // keys that will be disabled