We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebb6852 commit 1e5517bCopy full SHA for 1e5517b
docs/public/index.html
@@ -53,10 +53,10 @@
53
// Default to English if there's an error
54
if(Intl.DateTimeFormat().resolvedOptions().timeZone === 'Asia/Tehran'){
55
await setCookie('userLang', 'fa', 365); // Save for 1 year
56
- window.location.href = `/docs/fa/guides/`;
+ window.location.href = `/fa/guides/`;
57
}else{
58
await setCookie('userLang', 'en', 365); // Save for 1 year
59
- window.location.href = `/docs/en/guides/`;
+ window.location.href = `/en/guides/`;
60
}
61
62
0 commit comments