mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Video req logging
This commit is contained in:
parent
a08a9049e2
commit
de93b58bde
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ app.get('/*.mp4', function (req, res) {
|
||||||
fs.createReadStream(fpath).pipe(res)
|
fs.createReadStream(fpath).pipe(res)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
logger.LogReq(req)
|
||||||
let fname = p.split('/')
|
let fname = p.split('/')
|
||||||
fname = fname.pop()
|
fname = fname.pop()
|
||||||
res.render('stuff/video', {
|
res.render('stuff/video', {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue