Skip to content

Commit fb296d0

Browse files
Link redirects in the language service and 404 redirect service have also been changed.
1 parent a12c8ef commit fb296d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
var lang = navigator.language;
22
if (lang.startsWith("tr"))
33
{
4-
document.location.href = "/404NotFound/404.html";
4+
document.location.href = "/404NotFound/404";
55
}
66
else if (lang.startsWith("en"))
77
{
8-
document.location.href = "/404NotFound/404.html";
8+
document.location.href = "/404NotFound/404";
99
}

assets/WS_Service/LangService/lang.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
var lang = navigator.language;
22
if (lang.startsWith("tr"))
33
{
4-
document.location.href = "/WS_Pages/TR/mainpage.html";
4+
document.location.href = "/WS_Pages/TR/mainpage";
55
}
66
else if (lang.startsWith("en"))
77
{
8-
document.location.href = "/WS_Pages/EN/mainpage.html";
8+
document.location.href = "/WS_Pages/EN/mainpage";
99
}
1010
else if (lang != "en-EN" | lang != "en" | lang != "en_US" | lang != "en-US" | lang != "tr-TR" | lang != "tr" | lang != "tr_TR")
1111
{

0 commit comments

Comments
 (0)