basic file opening

This commit is contained in:
2021-07-28 12:49:35 +02:00
parent b08a527199
commit 67cbf7ab28
10 changed files with 196 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
function genDownloadLink(id:string): string {
return `/api/file?id=${encodeURIComponent(id)}`
}
export default genDownloadLink