Skip to content

Commit

Permalink
🐛 Append path to base url when diverting blob (#2307)
Browse files Browse the repository at this point in the history
  • Loading branch information
foysalit authored Mar 15, 2024
1 parent 011aa22 commit 3d5ad92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ozone/src/daemon/blob-diverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 3d5ad92

Please sign in to comment.