1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

fix: fixes broken download link when host name has :

This commit is contained in:
Amir Raminfar
2025-02-05 10:23:34 -08:00
parent 6d2ed53629
commit 6da7f6dffd
4 changed files with 12 additions and 4 deletions

View File

@@ -97,7 +97,7 @@ const downloadParams = computed(() =>
const downloadUrl = computed(() =>
withBase(
`/api/containers/${containers.value.map((c) => c.host + ":" + c.id).join(",")}/download?${new URLSearchParams(downloadParams.value).toString()}`,
`/api/containers/${containers.value.map((c) => c.host + "~" + c.id).join(",")}/download?${new URLSearchParams(downloadParams.value).toString()}`,
),
);
</script>