router/video.js aktualisiert
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
fix wrong var name
This commit is contained in:
parent
cd7e2e7a0f
commit
7faec524da
@ -96,7 +96,7 @@ router.route("/:id/stream")
|
|||||||
router.route("/:id/stream/:rate/:audioIndex")
|
router.route("/:id/stream/:rate/:audioIndex")
|
||||||
.get((req, res) => {
|
.get((req, res) => {
|
||||||
if (!server.lists.video_quality.includes(req.params.rate)) {
|
if (!server.lists.video_quality.includes(req.params.rate)) {
|
||||||
req.end();
|
res.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
let video = getFileName(req);
|
let video = getFileName(req);
|
||||||
|
Loading…
Reference in New Issue
Block a user