mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 22:50:53 +03:00
working s3 integration, commented out load credentials from json
This commit is contained in:
committed by
Danny Coates
parent
f377aa4551
commit
af4edfef16
@@ -5,7 +5,6 @@ class FileReceiver extends EventEmitter {
|
||||
constructor() {
|
||||
super();
|
||||
this.salt = strToIv(location.pathname.slice(10, -1));
|
||||
window.salt = this.salt;
|
||||
}
|
||||
|
||||
download() {
|
||||
@@ -31,8 +30,6 @@ class FileReceiver extends EventEmitter {
|
||||
let blob = new Blob([this.response]);
|
||||
let fileReader = new FileReader();
|
||||
fileReader.onload = function() {
|
||||
window.data = this.result;
|
||||
console.log(this.result);
|
||||
resolve({
|
||||
data: this.result,
|
||||
fname: xhr
|
||||
|
||||
Reference in New Issue
Block a user