Skip to content

Commit

Permalink
🧑‍💻 fixes #1506 url links for local website when using jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
djowalker authored and vsct-jburet committed Jul 20, 2023
1 parent 0c48e7d commit efee676
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<script type="text/javascript">
try {
if(navigator.language && navigator.language.toLowerCase().indexOf("fr") !== -1) {
window.location = "https://doc.tock.ai/tock/fr/";
window.location = "fr/";
} else {
window.location = "https://doc.tock.ai/tock/en/";
window.location = "en/";
}
}catch(e) {
window.location = "https://doc.tock.ai/tock/en/";
window.location = "en/";
}
</script>
</head>
Expand Down

0 comments on commit efee676

Please sign in to comment.