diff --git a/src/utils/valid.ts b/src/utils/valid.ts index 2f292a2..65db1ea 100644 --- a/src/utils/valid.ts +++ b/src/utils/valid.ts @@ -22,7 +22,7 @@ export async function validatePlayableStream( stream: Stream, ops: ProviderRunnerOptions | IndividualEmbedRunnerOptions, ): Promise { - const fetcher = stream.flags.includes('cors-allowed') ? ops.fetcher : ops.proxiedFetcher; + const fetcher = stream.flags.length === 1 && stream.flags.includes('cors-allowed') ? ops.fetcher : ops.proxiedFetcher; if (stream.type === 'hls') { const headResult = await fetcher.full(stream.playlist, { method: 'HEAD',