change routes

This commit is contained in:
joseph le 2023-08-22 10:52:59 +07:00
parent f0f1543a03
commit b1b291cc16
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export function runtimeCheckLogs(folderPath) {
const stats = fs.statSync(filePath);
//scan file today
if (dateNow !== moment(stats.mtime).format("YYYY/MM/DD")) {
if (dateNow !== moment(stats.mtime).format("YYYY/MM/DD") || file.search("log.")!==-1) {
fileList = fileList.filter((i) => i !== file);
}
});