Skip to content

Commit 4675aaa

Browse files
committed
style: condense prefs-proxy comment to one line
1 parent 7a0c9a3 commit 4675aaa

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/state/session/agent.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,7 @@ class BskyAppAgent extends BskyAgent {
350350
super({
351351
service,
352352
async fetch(...args) {
353-
// getPreferences/putPreferences are PDS-local methods. The agent's
354-
// global appview proxy header must not reach them, or a PDS whose
355-
// default appview differs from ours (e.g. bsky.network) forwards them
356-
// to the Blacksky appview, which 501s — breaking the app for accounts
357-
// not hosted on the Blacksky PDS.
353+
// PDS-local prefs methods must not carry the appview proxy header.
358354
const input = args[0] as string | URL | Request
359355
const url =
360356
typeof input === 'string'

0 commit comments

Comments
 (0)