tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
serve did.json instead of .well-known
awarm.space
9 months ago
9b64c7f4
8df286e9
+1
-1
1 changed file
expand all
collapse all
unified
split
app
lish
feeds
[...path]
route.ts
+1
-1
app/lish/feeds/[...path]/route.ts
···
10
10
{ params }: { params: Promise<{ path: string[] }> },
11
11
) {
12
12
let { path } = await params;
13
13
-
if (path[0] === ".well-known")
13
13
+
if (path[0] === "did.json")
14
14
return NextResponse.json({
15
15
"@context": ["https://www.w3.org/ns/did/v1"],
16
16
id: serviceDid,