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
use rkey for pub middleware instead of pub name
awarm.space
4 months ago
486797a6
27d03d30
+1
-1
1 changed file
expand all
collapse all
unified
split
middleware.ts
+1
-1
middleware.ts
···
83
83
let aturi = new AtUri(pub?.uri);
84
84
return NextResponse.rewrite(
85
85
new URL(
86
86
-
`/lish/${aturi.host}/${encodeURIComponent(pub.name)}${req.nextUrl.pathname}`,
86
86
+
`/lish/${aturi.host}/${aturi.rkey}${req.nextUrl.pathname}`,
87
87
req.url,
88
88
),
89
89
);