fix: support password-less MediaFlow Proxy
This commit is contained in:
parent
f12e3c5bd8
commit
39dec26450
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ interface ExtractResult {
|
|||
query_params: Record<string, string>;
|
||||
}
|
||||
|
||||
export const supportsMediaFlowProxy = (ctx: Context): boolean => !!(ctx.config['mediaFlowProxyUrl'] && ctx.config['mediaFlowProxyPassword']);
|
||||
export const supportsMediaFlowProxy = (ctx: Context): boolean => !!ctx.config['mediaFlowProxyUrl'];
|
||||
|
||||
const buildMediaFlowProxyExtractorUrl = (ctx: Context, host: string, url: URL): URL => {
|
||||
const mediaFlowProxyUrl = new URL(`${ctx.config.mediaFlowProxyUrl}/extractor/video`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue