mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修复版本文件缓存
This commit is contained in:
@@ -89,7 +89,7 @@ export default class SystemService {
|
||||
let lastLog = '';
|
||||
try {
|
||||
const lastVersionFileContent = await promiseExec(
|
||||
`curl ${config.lastVersionFile}`,
|
||||
`curl ${config.lastVersionFile}?t=${Date.now()}`,
|
||||
);
|
||||
lastVersion = lastVersionFileContent.match(versionRegx)![1];
|
||||
lastLog = lastVersionFileContent.match(logRegx)
|
||||
|
||||
Reference in New Issue
Block a user