mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 07:00:54 +03:00
working s3 integration, commented out load credentials from json
This commit is contained in:
committed by
Danny Coates
parent
f377aa4551
commit
af4edfef16
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user