1
0
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:
Daniela Arcese 2017-06-05 09:48:57 -04:00
parent a1e2026759
commit 2668f22d8a

View File

@ -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");