移除远程版本更新链接

This commit is contained in:
hanhh 2021-10-13 22:41:59 +08:00
parent 2f6b95cccf
commit 56e43f1808

View File

@ -392,7 +392,6 @@ export default class UserService {
).body; ).body;
const lastVersion = lastVersionFileContent.match(versionRegx)![1]; const lastVersion = lastVersionFileContent.match(versionRegx)![1];
const lastLog = lastVersionFileContent.match(logRegx)![1]; const lastLog = lastVersionFileContent.match(logRegx)![1];
const lastLink = lastVersionFileContent.match(linkRegx)![1];
return { return {
code: 200, code: 200,
@ -400,7 +399,6 @@ export default class UserService {
hasNewVersion: currentVersion !== lastVersion, hasNewVersion: currentVersion !== lastVersion,
lastVersion, lastVersion,
lastLog, lastLog,
lastLink,
}, },
}; };
} catch (error: any) { } catch (error: any) {