1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

Update providers and use make extension a proxiedFetcher

This commit is contained in:
TPN 2024-07-06 19:15:36 +00:00
parent 18d8ef45b6
commit f28b2efe53
2 changed files with 6 additions and 5 deletions

View file

@ -38,7 +38,7 @@ importers:
version: 0.7.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) version: 0.7.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@movie-web/providers': '@movie-web/providers':
specifier: github:sussy-code/providers specifier: github:sussy-code/providers
version: https://codeload.github.com/sussy-code/providers/tar.gz/3341c6d75c46fa4247a5816566c350b43ffb47ca version: https://codeload.github.com/sussy-code/providers/tar.gz/3001ad69abd0dfee7dd30c8e1c554f0d80f76d54
'@noble/hashes': '@noble/hashes':
specifier: ^1.4.0 specifier: ^1.4.0
version: 1.4.0 version: 1.4.0
@ -1197,8 +1197,8 @@ packages:
react: '>=16.8.0' react: '>=16.8.0'
react-dom: '>=16.8.0' react-dom: '>=16.8.0'
'@movie-web/providers@https://codeload.github.com/sussy-code/providers/tar.gz/3341c6d75c46fa4247a5816566c350b43ffb47ca': '@movie-web/providers@https://codeload.github.com/sussy-code/providers/tar.gz/3001ad69abd0dfee7dd30c8e1c554f0d80f76d54':
resolution: {tarball: https://codeload.github.com/sussy-code/providers/tar.gz/3341c6d75c46fa4247a5816566c350b43ffb47ca} resolution: {tarball: https://codeload.github.com/sussy-code/providers/tar.gz/3001ad69abd0dfee7dd30c8e1c554f0d80f76d54}
version: 2.3.0 version: 2.3.0
'@noble/hashes@1.4.0': '@noble/hashes@1.4.0':
@ -5253,7 +5253,7 @@ snapshots:
react: 18.3.1 react: 18.3.1
react-dom: 18.3.1(react@18.3.1) react-dom: 18.3.1(react@18.3.1)
'@movie-web/providers@https://codeload.github.com/sussy-code/providers/tar.gz/3341c6d75c46fa4247a5816566c350b43ffb47ca': '@movie-web/providers@https://codeload.github.com/sussy-code/providers/tar.gz/3001ad69abd0dfee7dd30c8e1c554f0d80f76d54':
dependencies: dependencies:
cheerio: 1.0.0-rc.12 cheerio: 1.0.0-rc.12
cookie: 0.6.0 cookie: 0.6.0

View file

@ -13,7 +13,8 @@ import {
export function getProviders() { export function getProviders() {
if (isExtensionActiveCached()) { if (isExtensionActiveCached()) {
return makeProviders({ return makeProviders({
fetcher: makeExtensionFetcher(), fetcher: makeStandardFetcher(fetch),
proxiedFetcher: makeExtensionFetcher(),
target: targets.BROWSER_EXTENSION, target: targets.BROWSER_EXTENSION,
consistentIpForRequests: true, consistentIpForRequests: true,
}); });