a tool for shared writing and social publishing

remove loggs

-2
-2
app/api/atproto_images/route.ts
··· 8 did: url.searchParams.get("did") ?? "", 9 cid: url.searchParams.get("cid") ?? "", 10 }; 11 - console.log(params); 12 if (!params.did || !params.cid) 13 return new NextResponse(null, { status: 404 }); 14 15 let identity = await idResolver.did.resolve(params.did); 16 let service = identity?.service?.find((f) => f.id === "#atproto_pds"); 17 - console.log(identity); 18 if (!service) return new NextResponse(null, { status: 404 }); 19 const response = await fetch( 20 `${service.serviceEndpoint}/xrpc/com.atproto.sync.getBlob?did=${params.did}&cid=${params.cid}`,
··· 8 did: url.searchParams.get("did") ?? "", 9 cid: url.searchParams.get("cid") ?? "", 10 }; 11 if (!params.did || !params.cid) 12 return new NextResponse(null, { status: 404 }); 13 14 let identity = await idResolver.did.resolve(params.did); 15 let service = identity?.service?.find((f) => f.id === "#atproto_pds"); 16 if (!service) return new NextResponse(null, { status: 404 }); 17 const response = await fetch( 18 `${service.serviceEndpoint}/xrpc/com.atproto.sync.getBlob?did=${params.did}&cid=${params.cid}`,