mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
Base DownloadURL on origin not href
This commit is contained in:
parent
4b9e070e5c
commit
a112236b08
|
|
@ -173,8 +173,8 @@ const useDraggableEntries = (
|
|||
event.nativeEvent.dataTransfer?.setData(
|
||||
"DownloadURL",
|
||||
`${getMimeType(file) || "application/octet-stream"}:${file}:${
|
||||
window.location.href
|
||||
}${join(entryUrl, file)}`
|
||||
window.location.origin
|
||||
}${encodeURI(join(entryUrl, file))}`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user