Open mirceaciu opened 6 years ago
Without I will get client browser errors like
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource
Request header field Tus-Resumable is not allowed by Access-Control-Allow-Headers in preflight response
Refused to get unsafe header "Location"
Method PATCH is not allowed by Access-Control-Allow-Methods in preflight response.
I have the flask app wrapped with flask-cors
, but has not effect on the TUS functionality.
Not looking for any new implementation, maybe just some tips
I'm trying to use a react app with Uppy Tus client and this tus-flask server.
Can something be made to support CORS protocol?
I'm trying to wrap this package with another class that add the header that js client continues to ask for, but it feels just like a big messy hack