remove todo
This commit is contained in:
parent
23446225e7
commit
88f417a9c1
1 changed files with 0 additions and 10 deletions
|
@ -130,16 +130,6 @@ const send = (file, element) => {
|
||||||
console.error("Upload failed.");
|
console.error("Upload failed.");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Here we need to store the public key and then wait for a response
|
|
||||||
* from the server. When the server send us a hash of the file
|
|
||||||
* we redirect the user the a wait page so the uploader can copy
|
|
||||||
* a link like:
|
|
||||||
* Wait page: https://d/upload
|
|
||||||
* Copy link: https://d/download/hash#pub_key_0:pub_key_1
|
|
||||||
* When the user click on the link, he can download the file, asking
|
|
||||||
* to the server with the hash of the link and the public key
|
|
||||||
* encoded in the URL */
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue