unoffical wafrn mirror wafrn.net
atproto social-network activitypub
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

this works ok with axios whoops

+2 -3
+2 -3
packages/backend/routes/remoteCache.ts
··· 397 397 altText = media.description; 398 398 } 399 399 */ 400 - const streams = response.data.tee() 401 - const { stream, mime } = await getMimeType(streams[0]) 400 + const { stream, mime } = await getMimeType(response.data) 402 401 if (res) { 403 402 res.contentType(mime) 404 - stream.pipe(streams[1]) 403 + stream.pipe(res) 405 404 } 406 405 await writeStream(stream, localFileName, mime, altText) 407 406 } catch (error) {