mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-18 15:22:01 +00:00
Change freatures if proxyStreams is set
This commit is contained in:
parent
6737c7a68f
commit
53534cb5ff
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ export interface ProviderMakerOptions {
|
|||
}
|
||||
|
||||
export function makeProviders(ops: ProviderMakerOptions) {
|
||||
const features = getTargetFeatures(ops.target, ops.consistentIpForRequests ?? false);
|
||||
const features = getTargetFeatures(ops.proxyStreams ? 'any' : ops.target, ops.consistentIpForRequests ?? false);
|
||||
const list = getProviders(features, {
|
||||
embeds: getBuiltinEmbeds(),
|
||||
sources: getBuiltinSources(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue