正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -63,7 +63,7 @@ recordInfoService.prototype.getRecordFileURL = async(path,time)=>{ | @@ -63,7 +63,7 @@ recordInfoService.prototype.getRecordFileURL = async(path,time)=>{ | ||
63 | let files=fs.readdirSync(pathURL); | 63 | let files=fs.readdirSync(pathURL); |
64 | files.forEach(function(file){ | 64 | files.forEach(function(file){ |
65 | let type = file.split('.'); | 65 | let type = file.split('.'); |
66 | - if(type[1] != 'm3u8'){ | 66 | + if(type[1] != 'mp4'){ |
67 | }else{ | 67 | }else{ |
68 | let fileN = type[0].split('_'); | 68 | let fileN = type[0].split('_'); |
69 | if(date2==fileN[1].slice(0,fileN[1].length-3)){ | 69 | if(date2==fileN[1].slice(0,fileN[1].length-3)){ |
-
请 注册 或 登录 后发表评论