mirror of
https://github.com/Nezumi-2711/next-gdrive-index.git
synced 2026-09-22 13:38:38 +00:00
Update download url
This commit is contained in:
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user