a tool for shared writing and social publishing

use rkey for pub middleware instead of pub name

+1 -1
+1 -1
middleware.ts
··· 83 83 let aturi = new AtUri(pub?.uri); 84 84 return NextResponse.rewrite( 85 85 new URL( 86 - `/lish/${aturi.host}/${encodeURIComponent(pub.name)}${req.nextUrl.pathname}`, 86 + `/lish/${aturi.host}/${aturi.rkey}${req.nextUrl.pathname}`, 87 87 req.url, 88 88 ), 89 89 );