mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-10 21:22:35 +01:00
show share link in uploaded files list
This commit is contained in:
parent
a1e2026759
commit
2668f22d8a
@ -26,6 +26,7 @@ let onChange = event => {
|
||||
fileSender.upload().then(info => {
|
||||
const url = `${window.location
|
||||
.origin}/download/${info.fileId}/#${info.secretKey}`;
|
||||
link.innerHTML = url;
|
||||
localStorage.setItem(info.fileId, info.deleteToken);
|
||||
var del = document.createElement("td");
|
||||
var btn = document.createElement("button");
|
||||
|
Loading…
Reference in New Issue
Block a user