updated receiving end
This commit is contained in:
parent
28498af6d5
commit
a45d3dca73
6 changed files with 243 additions and 151 deletions
|
@ -21,7 +21,7 @@ let onChange = event => {
|
|||
progress.innerText = `Progress: ${percentComplete}%`;
|
||||
});
|
||||
fileSender.upload().then(info => {
|
||||
const url = `${window.location.origin}/${info.fileId}/#${info.secretKey}`;
|
||||
const url = `${window.location.origin}/download/${info.fileId}/#${info.secretKey}`;
|
||||
localStorage.setItem(info.fileId, info.deleteToken);
|
||||
link.innerText = url;
|
||||
link.setAttribute('href', url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue