mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 11:18:28 +00:00
fix: hlsObject
-> object
for wrapper-like function
This commit is contained in:
parent
3df60b7fea
commit
8acddc4b83
@ -4,7 +4,7 @@ import path from "node:path";
|
|||||||
|
|
||||||
function transformObject(streamInfo, hlsObject) {
|
function transformObject(streamInfo, hlsObject) {
|
||||||
if (hlsObject === undefined) {
|
if (hlsObject === undefined) {
|
||||||
return (hlsObject) => transformObject(streamInfo, hlsObject);
|
return (object) => transformObject(streamInfo, object);
|
||||||
}
|
}
|
||||||
|
|
||||||
const fullUrl = hlsObject.uri.startsWith("/")
|
const fullUrl = hlsObject.uri.startsWith("/")
|
||||||
|
Loading…
Reference in New Issue
Block a user