File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11var lang = navigator . language ;
22if ( lang . startsWith ( "tr" ) )
33{
4- document . location . href = "/404NotFound/404.html " ;
4+ document . location . href = "/404NotFound/404" ;
55}
66else if ( lang . startsWith ( "en" ) )
77{
8- document . location . href = "/404NotFound/404.html " ;
8+ document . location . href = "/404NotFound/404" ;
99}
Original file line number Diff line number Diff line change 11var lang = navigator . language ;
22if ( lang . startsWith ( "tr" ) )
33{
4- document . location . href = "/WS_Pages/TR/mainpage.html " ;
4+ document . location . href = "/WS_Pages/TR/mainpage" ;
55}
66else if ( lang . startsWith ( "en" ) )
77{
8- document . location . href = "/WS_Pages/EN/mainpage.html " ;
8+ document . location . href = "/WS_Pages/EN/mainpage" ;
99}
1010else if ( lang != "en-EN" | lang != "en" | lang != "en_US" | lang != "en-US" | lang != "tr-TR" | lang != "tr" | lang != "tr_TR" )
1111{
You can’t perform that action at this time.
0 commit comments