添加关于页

This commit is contained in:
whyour committed 2022-01-24 23:17:12 +08:00
1 parent 1b5f4a0f9d
commit e13d9ed51b
4 files changed
+76 -4

No files matched your search

+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,
}),
]);