a tool for shared writing and social publishing

use rkey for pub middleware instead of pub name

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