file log
This commit is contained in:
@@ -22,6 +22,7 @@ app.get('/videos/:filename',cors(corsOptions), (req, res)=>{
|
|||||||
const fileName = req.params.filename;
|
const fileName = req.params.filename;
|
||||||
const filePath = videoFileMap[fileName]
|
const filePath = videoFileMap[fileName]
|
||||||
if(!filePath){
|
if(!filePath){
|
||||||
|
console.log("Finding File Not Found ", filePath);
|
||||||
return res.status(404).send('File not found')
|
return res.status(404).send('File not found')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user