this repo has no description
32
fork

Configure Feed

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

Retry app.bsky requests through AppView on local errors

authored by

alice and committed by tangled.org 44dce6e0 11f2e50e

+1 -5
+1 -5
src/browser/lib/dual-api.mjs
··· 67 67 const result = await run(); 68 68 const shouldRetryWithAppViewProxy = 69 69 !result.ok && 70 - nsid.startsWith('app.bsky.') && 71 - ( 72 - (result.status === 501 && /atproto-proxy/i.test(result.text || '')) || 73 - (result.status === 404 && (!result.text || result.json?.error === 'MethodNotFound')) 74 - ); 70 + nsid.startsWith('app.bsky.'); 75 71 if (shouldRetryWithAppViewProxy) { 76 72 return run({ 77 73 'atproto-proxy': 'did:web:api.bsky.app#bsky_appview',