diff --git a/web/src/components/dialog/PickerItem.svelte b/web/src/components/dialog/PickerItem.svelte index 7edf8c68..4a515a6e 100644 --- a/web/src/components/dialog/PickerItem.svelte +++ b/web/src/components/dialog/PickerItem.svelte @@ -14,6 +14,7 @@ export let number: number; let imageLoaded = false; + const isTunnel = new URL(item.url).pathname === "/tunnel"; $: itemType = item.type ?? "photo"; @@ -23,6 +24,7 @@ on:click={() => downloadFile({ url: item.url, + urlType: isTunnel ? "tunnel" : "redirect", })} >