From 3d5ad925bb20cbc2b5706372b21521b9c8cc65ac Mon Sep 17 00:00:00 2001 From: Foysal Ahamed Date: Fri, 15 Mar 2024 19:47:11 +0000 Subject: [PATCH] :bug: Append path to base url when diverting blob (#2307) --- packages/ozone/src/daemon/blob-diverter.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/ozone/src/daemon/blob-diverter.ts b/packages/ozone/src/daemon/blob-diverter.ts index 386c3a090cb..98141043b9f 100644 --- a/packages/ozone/src/daemon/blob-diverter.ts +++ b/packages/ozone/src/daemon/blob-diverter.ts @@ -87,7 +87,9 @@ export class BlobDiverter { subjectUri, }: { subjectDid: string; subjectUri: string | null }, ) { - const url = new URL(this.serviceConfig.url) + const url = new URL( + `${this.serviceConfig.url}/xrpc/com.atproto.unspecced.reportBlob`, + ) url.searchParams.set('did', subjectDid) if (subjectUri) url.searchParams.set('uri', subjectUri) const result = await this.sendImage({