Skip to content

Commit 3ef8ae3

Browse files
committed
fix: updated proxiedImage endpoint to new route
1 parent 8c9c162 commit 3ef8ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modes/rest/resources/torrent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class TorrentResource implements IRestResource {
145145
const headers = this.client.authToken ? { "Authorization": `Bearer ${this.client.authToken}` } : undefined;
146146

147147
return await fetchGetBlob(
148-
`${this.client.apiBaseUrl}/proxy/image?url=${encodeURIComponent(url)}`,
148+
`${this.client.apiBaseUrl}/proxy/image/${encodeURIComponent(url)}`,
149149
headers
150150
)
151151
.then((blob) => {

0 commit comments

Comments
 (0)