Update download url

This commit is contained in:
mbaharip
2023-05-25 21:59:19 +07:00
parent efbd5e9843
commit 4e1d101f63
+3 -3
View File
@@ -322,11 +322,11 @@ function Action({
const copyLink = useCopyText();
let url: string = apiConfig.basePath;
if (path) {
if (isDownloadable) {
url += "/download";
}
url += path;
}
if (path && isDownloadable) {
url += `/download${path}`;
}
return (
<div
className={