working s3 integration, commented out load credentials from json
This commit is contained in:
parent
f377aa4551
commit
af4edfef16
6 changed files with 116 additions and 86 deletions
|
@ -58,8 +58,7 @@ $(document).ready(function() {
|
|||
progress.innerText = `Progress: ${percentComplete}%`;
|
||||
});
|
||||
fileSender.upload().then(info => {
|
||||
const url = `${window.location
|
||||
.origin}/download/${info.fileId}/#${info.secretKey}`;
|
||||
const url = info.url.trim() + `#${info.secretKey}`.trim();
|
||||
$('#link').attr('value', url);
|
||||
link.innerHTML = url;
|
||||
localStorage.setItem(info.fileId, info.deleteToken);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue