You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
455 B
18 lines
455 B
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
</head>
|
|
<body>
|
|
<script src="//cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
|
|
<script>
|
|
window.rootPath = '<%= rootPath %>';
|
|
window.defaultLanguage = '<%= defaultLanguage %>';
|
|
var lang = Cookies.get('docsite_language');
|
|
if (!lang) {
|
|
lang = '<%= defaultLanguage %>';
|
|
}
|
|
window.location = window.rootPath + '/zh-cn';
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|