diff --git a/app/packages/looker/src/worker/disk-overlay-decoder.ts b/app/packages/looker/src/worker/disk-overlay-decoder.ts index 2948831061..32177e079c 100644 --- a/app/packages/looker/src/worker/disk-overlay-decoder.ts +++ b/app/packages/looker/src/worker/disk-overlay-decoder.ts @@ -97,19 +97,11 @@ export const decodeOverlayOnDisk = async ( // convert absolute file path to a URL that we can "fetch" from const overlayImageUrl = getSampleSrc(source || label[overlayPathField]); - const urlTokens = overlayImageUrl.split("?"); - - let baseUrl = overlayImageUrl; - - // remove query params if not local URL - if (!urlTokens.at(1)?.startsWith("filepath=") && !source) { - baseUrl = overlayImageUrl.split("?")[0]; - } let overlayImageBlob: Blob; try { const overlayImageFetchResponse = await enqueueFetch({ - url: baseUrl, + url: overlayImageUrl, options: { priority: "low" }, }); overlayImageBlob = await overlayImageFetchResponse.blob();