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.

whoops

+1 -1
+1 -1
packages/backend/utils/activitypub/checkContentNegotiation.ts
··· 18 18 && req.headers.accept 19 19 && !allowedContentTypes.some(type => req.headers.accept?.includes(type))) { 20 20 // Respond with a 401 if the request did not include an Accept header for a HTML response. 21 - res.sendStatus(401); 21 + return res.sendStatus(401); 22 22 } 23 23 24 24 next();