tangled
alpha
login
or
join now
linkat.blue
/
linkat
6
fork
atom
Create your Link in Bio for Bluesky
6
fork
atom
overview
issues
pulls
pipelines
rename
mkizka.dev
2 years ago
f8c9d73a
09241500
+4
-4
4 changed files
expand all
collapse all
unified
split
app
server
firehose
subscription.ts
oauth
client.ts
service
didService
did.ts
utils
env.ts
+1
-1
app/server/firehose/subscription.ts
···
15
15
const logger = createLogger("firehose");
16
16
17
17
const idResolver = new IdResolver({
18
18
-
plcUrl: env.ATPROTO_PCL_URL,
18
18
+
plcUrl: env.ATPROTO_PLC_URL,
19
19
});
20
20
21
21
const handleCreateOrUpdate = async (
+1
-1
app/server/oauth/client.ts
···
21
21
token_endpoint_auth_method: "none",
22
22
dpop_bound_access_tokens: true,
23
23
},
24
24
-
plcDirectoryUrl: env.ATPROTO_PCL_URL,
24
24
+
plcDirectoryUrl: env.ATPROTO_PLC_URL,
25
25
// @ts-expect-error
26
26
handleResolver: env.BSKY_PUBLIC_API_URL,
27
27
stateStore: new StateStore(),
+1
-1
app/server/service/didService/did.ts
···
7
7
const logger = createLogger("didService");
8
8
9
9
const resolver = new IdResolver({
10
10
-
plcUrl: env.ATPROTO_PCL_URL,
10
10
+
plcUrl: env.ATPROTO_PLC_URL,
11
11
});
12
12
13
13
// 参考: https://github.com/bluesky-social/atproto/blob/319aa7cf6dd7de0262a40d69f695c9a0eb0b5179/packages/common-web/src/did-doc.ts#L82-L104
+1
-1
app/utils/env.ts
···
42
42
dev: "ws://localhost:2583",
43
43
}),
44
44
),
45
45
-
ATPROTO_PCL_URL: z
45
45
+
ATPROTO_PLC_URL: z
46
46
.string()
47
47
.url()
48
48
.default(