diff --git a/packages/presentation/src/preview.ts b/packages/presentation/src/preview.ts index ed22aada99..dd9f06a7c1 100644 --- a/packages/presentation/src/preview.ts +++ b/packages/presentation/src/preview.ts @@ -54,6 +54,10 @@ export function getSrcSet (_blob: Ref, width?: number): string { } function blobToSrcSet (cfg: PreviewConfig, blob: Ref, width: number | undefined): string { + if (blob.includes('://')) { + return '' + } + let url = cfg.previewUrl.replaceAll(':workspace', encodeURIComponent(getCurrentWorkspace())) const downloadUrl = getFileUrl(blob)