修复版本文件缓存

This commit is contained in:
whyour
2022-11-05 15:23:17 +08:00
parent 049c73880b
commit fb4a87f5ce
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)