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/mobile/ImageUpload.tsx | |
parent | b2aa0b80843e6e58f737e2937c45351d653255fa (diff) |
nativewidth and nativeheight extension key fix and implemented UI to manually download a remotely hosted image
Diffstat (limited to 'src/mobile/ImageUpload.tsx')
-rw-r--r-- | src/mobile/ImageUpload.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mobile/ImageUpload.tsx b/src/mobile/ImageUpload.tsx index dab4de110..1583e3d5d 100644 --- a/src/mobile/ImageUpload.tsx +++ b/src/mobile/ImageUpload.tsx @@ -45,7 +45,7 @@ class Uploader extends React.Component { const formData = new FormData(); formData.append("file", files[0]); - const upload = window.location.origin + "/upload"; + const upload = window.location.origin + "/uploadFormData"; this.status = "uploading image"; const res = await fetch(upload, { method: 'POST', |