fix for not calling api route on fetch

This commit is contained in:
Marek Maslowski
2026-04-05 11:54:51 +02:00
parent 079964bec8
commit 4a0d586768

View File

@@ -17,7 +17,7 @@ function ProviderImg({ baseUrl, provider, style, loading }: { baseUrl: string; p
const [src, setSrc] = useState('')
useEffect(() => {
let revoke = ''
fetchImageAsBlob(baseUrl).then(blobUrl => {
fetchImageAsBlob('/api' + baseUrl).then(blobUrl => {
revoke = blobUrl
setSrc(blobUrl)
})