mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
some code cleanup, fixed bug with regex in app.js
This commit is contained in:
@@ -57,16 +57,7 @@ function onChange(event) {
|
||||
link.innerHTML = "http://localhost:3000/download/" + hex + "/#" + keydata.k;
|
||||
link.setAttribute("href", "http://localhost:3000/download/" + hex + "/#" + keydata.k);
|
||||
|
||||
// if (curr_name) {
|
||||
// localStorage.setItem(file.name, curr_name + "," + hex);
|
||||
// } else {
|
||||
// localStorage.setItem(file.name, hex)
|
||||
// }
|
||||
|
||||
|
||||
|
||||
console.log("Share this link with a friend: http://localhost:3000/download/" + hex + "/#" + keydata.k);
|
||||
alert("Share this link with a friend: http://localhost:3000/download/" + hex + "/#" + keydata.k);
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user