router/video.js aktualisiert
All checks were successful
continuous-integration/drone Build is passing

fix wrong var name
This commit is contained in:
Artem Anufrij 2024-08-18 22:15:47 +02:00
parent cd7e2e7a0f
commit 7faec524da

View File

@ -96,7 +96,7 @@ router.route("/:id/stream")
router.route("/:id/stream/:rate/:audioIndex")
.get((req, res) => {
if (!server.lists.video_quality.includes(req.params.rate)) {
req.end();
res.end();
}
let video = getFileName(req);