This commit is contained in:
CHIEFSOFT\ameye
2024-03-23 19:57:07 -04:00
parent 7d886bfd7b
commit 08d1d96202
+1
View File
@@ -22,6 +22,7 @@ app.get('/videos/:filename',cors(corsOptions), (req, res)=>{
const fileName = req.params.filename;
const filePath = videoFileMap[fileName]
if(!filePath){
console.log("Finding File Not Found ", filePath);
return res.status(404).send('File not found')
}