添加关于页

This commit is contained in:
whyour
2022-01-24 23:17:12 +08:00
parent 29fc471ac4
commit 764a3492cc
4 changed files with 76 additions and 4 deletions
+2 -2
View File
@@ -86,9 +86,9 @@ export default class SystemService {
let lastLog = '';
try {
const result = await Promise.race([
got.get(config.lastVersionFile, { timeout: 1000, retry: 0 }),
got.get(config.lastVersionFile, { timeout: 6000, retry: 0 }),
got.get(`https://ghproxy.com/${config.lastVersionFile}`, {
timeout: 5000,
timeout: 6000,
retry: 0,
}),
]);