access control
This commit is contained in:
parent
4bfcde3ed7
commit
ae761c8d85
|
@ -16,7 +16,10 @@ function MyDropzone() {
|
|||
const url = API_ENDPOINT + "/siafile"
|
||||
fetch(url, {
|
||||
method: "POST",
|
||||
body: fd
|
||||
body: fd,
|
||||
headers: {
|
||||
"Access-Control-Allow-Origin": "*"
|
||||
}
|
||||
}).then(res => {
|
||||
const readableStream = res.body
|
||||
const fileStream = streamSaver.createWriteStream("file.webm")
|
||||
|
|
Reference in New Issue