Skip to content

Commit

Permalink
don't get rid of query params if source is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
sashankaryal committed Dec 17, 2024
1 parent 5d6f683 commit bc44e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/packages/looker/src/worker/disk-overlay-decoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const decodeOverlayOnDisk = async (
let baseUrl = overlayImageUrl;

// remove query params if not local URL
if (!urlTokens.at(1)?.startsWith("filepath=")) {
if (!urlTokens.at(1)?.startsWith("filepath=") && !source) {
baseUrl = overlayImageUrl.split("?")[0];
}

Expand Down

0 comments on commit bc44e3e

Please sign in to comment.