mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-08-09 23:14:26 +08:00
This commit is contained in:
parent
e4095c38bc
commit
9d5131465a
@ -31,7 +31,7 @@ Can't download? [Click here to download (alternative)](https://alist.8mi.tech/d/
|
|||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
const isZhCN = /^zh-CN/i.test(navigator.language);
|
const isZhCN = /^zh-CN/i.test(navigator.language);
|
||||||
const url = isZhCN
|
const url = isZhCN
|
||||||
? "https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi"
|
? "https://alist.8mi.tech/d/mirror/ms-jdk/Auto/microsoft-jdk-21-windows-aarch64.msi"
|
||||||
: "https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi";
|
: "https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi";
|
||||||
location.href = url;
|
location.href = url;
|
||||||
}, 5000); // Wait 5 seconds
|
}, 5000); // Wait 5 seconds
|
||||||
|
Loading…
Reference in New Issue
Block a user