WiP Signed url error.
This commit is contained in:
@@ -57,12 +57,14 @@ var c = "";
|
||||
|
||||
function uploadFile(file) {
|
||||
$("#status").html('Starting Upload...')
|
||||
url = c
|
||||
url = c;
|
||||
console.log("RADIL" + file);
|
||||
fetch(url, {
|
||||
method: 'PUT',
|
||||
body: file
|
||||
})
|
||||
.then(response => response.text())
|
||||
.then (console.log())
|
||||
.catch(error => $("#status").html(error)
|
||||
)
|
||||
.then(response => $("#status").html('File uploaded successfully: ' + filename));
|
||||
|
||||
Reference in New Issue
Block a user