添加关于页

This commit is contained in:
whyour
2022-01-24 23:17:12 +08:00
parent 1b5f4a0f9d
commit e13d9ed51b
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,
}),
]);