Skip to content

Commit

Permalink
fix(cname): pages.chaitin.com => t1k.chaitin.com
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisewang committed Mar 21, 2024
1 parent 6ee37ff commit 3cd2d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generated/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pages.chaitin.com
t1k.chaitin.com
4 changes: 2 additions & 2 deletions generated/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
document.addEventListener('DOMContentLoaded', function () {
let userLang = navigator.language || navigator.userLanguage;
if (userLang.startsWith('zh')) {
window.location.href += '/zh/';
window.location.href = '/zh/';
} else {
window.location.href += '/en/';
window.location.href = '/en/';
}
});
</script>
Expand Down

0 comments on commit 3cd2d90

Please sign in to comment.