From 7faec524da85ce4f11c37d592e4ae3984d34b03f Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Sun, 18 Aug 2024 22:15:47 +0200 Subject: [PATCH] router/video.js aktualisiert fix wrong var name --- router/video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/video.js b/router/video.js index 5be1a8e..5c64423 100644 --- a/router/video.js +++ b/router/video.js @@ -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);