janko / uppy-s3_multipart

Provides Ruby endpoints for AWS S3 multipart uploads in Uppy
https://uppy.io/docs/aws-s3/
MIT License
65 stars 21 forks source link

OPTIONS preflight request fails with 404 #12

Closed hiattp closed 4 years ago

hiattp commented 5 years ago

We just upgraded Uppy from 0.27.5 to 1.4.0 (and are using uppy-s3_multipart version 0.3.2, shrine 2.19.3 and rails 6.0). Everything works as expected so this isn't pressing but we're getting a preflight request failure in the console:

OPTIONS https://*****.com/s3/multipart 404 (Not Found)

It seems like this would be an issue with the multipart plugin that is mounted at '/s3/multipart', but feel free to point us elsewhere. Thanks!

janko commented 5 years ago

Yeah, Uppy started sending preflight requests even for GET routes. It doesn’t seem to currently cause any issues, but we’ll want to add those endpoints eventually.