fix media_proxy.ts axios arraybuffer fetch
Some checks failed
Build and publish the docker image / build (push) Failing after 28s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn 2025-01-20 06:33:40 +03:00
parent 2c7fc2958c
commit be6a575c0d
Signed by: ngn
GPG Key ID: A3654DF5AD9F641D
2 changed files with 1 additions and 130 deletions

View File

@ -1,129 +0,0 @@
[
{
"clearnet": "https://libremdb.iket.me/",
"cdn": false,
"country": "CA"
},
{
"clearnet": "https://libremdb.pussthecat.org/",
"cdn": false,
"country": "DE"
},
{
"clearnet": "https://ld.vern.cc/",
"tor": "http://ld.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion/",
"i2p": "http://vernz3ubrntql4wrgyrssd6u3qzi36zrhz2agbo6vibzbs5olk2q.b32.i2p/",
"cdn": false,
"country": "US"
},
{
"clearnet": "https://binge.whatever.social/",
"cdn": false,
"country": "US/DE"
},
{
"clearnet": "https://libremdb.lunar.icu/",
"cdn": false,
"country": "DE"
},
{
"clearnet": "https://libremdb.jeikobu.net/",
"cdn": true,
"country": "DE"
},
{
"clearnet": "https://lmdb.hostux.net/",
"cdn": false,
"country": "FR"
},
{
"clearnet": "https://binge.whateveritworks.org/",
"cdn": true,
"country": "DE"
},
{
"clearnet": "https://libremdb.nerdyfam.tech/",
"cdn": true,
"country": "US"
},
{
"clearnet": "https://libremdb.tux.pizza/",
"cdn": false,
"country": "US"
},
{
"clearnet": "https://libremdb.frontendfriendly.xyz/",
"cdn": false
},
{
"clearnet": "https://d.opnxng.com/",
"cdn": false,
"country": "SG"
},
{
"clearnet": "https://libremdb.catsarch.com/",
"tor": "http://libremdb.catsarchywsyuss6jdxlypsw5dc7owd5u5tr6bujxb7o6xw2hipqehyd.onion",
"i2p": "http://qjlgasoy3nxepgzntucmcnb6pryqxakwdu7sxvqzi7spdfootryq.b32.i2p",
"cdn": false,
"country": "US"
},
{
"clearnet": "https://libremdb.r4fo.com/",
"tor": "http://libremdb.r4focoma7gu2zdwwcjjad47ysxt634lg73sxmdbkdozanwqslho5ohyd.onion/",
"cdn": false,
"country": "NL"
},
{
"clearnet": "https://libremdb.privacydev.net/",
"tor": "http://libremdb.g4c3eya4clenolymqbpgwz3q3tawoxw56yhzk4vugqrl6dtu3ejvhjid.onion/",
"cdn": false,
"country": "FR"
},
{
"clearnet": "https://libremdb.ducks.party/",
"cdn": false,
"country": "NL"
},
{
"clearnet": "https://lmdb.ngn.tf/",
"cdn": false,
"country": "TR"
},
{
"clearnet": "https://lmdb.bloat.cat/",
"cdn": false,
"country": "DE"
},
{
"clearnet": "https://libremdb.darkness.services/",
"cdn": true,
"country": "US"
},
{
"clearnet": "https://libremdb.hyperreal.coffee/",
"cdn": false,
"country": "US"
},
{
"clearnet": "https://ld.ca.zorby.top/",
"tor": "http://q3hetdcyyy572xznqmsledzlbv77moycoqs6ptehpp5vsmx4dtcuqeqd.onion/",
"i2p": "http://5j37qusybvyhecljn4hr5i4chifdlfqfkfveythzpzyfxiibt7cq.b32.i2p/",
"cdn": false,
"country": "CA"
},
{
"clearnet": "https://imdb.nerdvpn.de/",
"cdn": false,
"country": "UA"
},
{
"clearnet": "https://libremdb.canine.tools/",
"cdn": false,
"country": "US"
},
{
"clearnet": "https://libremdb-fly.fly.dev/",
"cdn": false,
"country": "US"
}
]

View File

@ -65,7 +65,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
}
// 4. else getting, caching and sending response
const mediaRes = await axiosInstance(mediaUrl, {
const mediaRes = await axiosInstance.get(mediaUrl, {
responseType: 'arraybuffer',
});