basic file opening
This commit is contained in:
5
src/functions/genDownloadLink.ts
Normal file
5
src/functions/genDownloadLink.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
function genDownloadLink(id:string): string {
|
||||
return `/api/file?id=${encodeURIComponent(id)}`
|
||||
}
|
||||
|
||||
export default genDownloadLink
|
||||
Reference in New Issue
Block a user