diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-27 05:50:15 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-01-27 05:50:15 -0500 |
commit | c5d618538d4fd9669476dc7eb66ddd45783e5fa6 (patch) | |
tree | 79655ab3296881416ad78f9eb265a6df1e807f1e /src/client/views/nodes/AudioBox.tsx | |
parent | b2aa0b80843e6e58f737e2937c45351d653255fa (diff) |
nativewidth and nativeheight extension key fix and implemented UI to manually download a remotely hosted image
Diffstat (limited to 'src/client/views/nodes/AudioBox.tsx')
-rw-r--r-- | src/client/views/nodes/AudioBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx index 8ede79edc..62a479b2a 100644 --- a/src/client/views/nodes/AudioBox.tsx +++ b/src/client/views/nodes/AudioBox.tsx @@ -138,7 +138,7 @@ export class AudioBox extends DocExtendableComponent<FieldViewProps, AudioDocume self._recorder.ondataavailable = async function (e: any) { const formData = new FormData(); formData.append("file", e.data); - const res = await fetch(Utils.prepend("/upload"), { + const res = await fetch(Utils.prepend("/uploadFormData"), { method: 'POST', body: formData }); |