-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
File upload - No 'Access-Control-Allow-Origin' #547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think that CORS is not enabled in the Parse-server example. You can use the In the
|
2.1.3 included a change to cors headers. Should be fixed. Please re-open if not. Thanks. |
Hi! |
Is this solved? i get the same problem when uploading bigger file, like 1mb |
try to change client_max_body_size in nginx |
Hi
Could you help me to implement file upload with parse server on client side and on server side.
I have this error when I try to upload:
XMLHttpRequest cannot load https://evening-plateau-93592.herokuapp.com/parse/files/avatar.png. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://cyboolo.worldsecuresystems.com' is therefore not allowed access.
I have updated middleware.js with last commit but still the same problem.
Before migration to parse server, on client side, I used:
`myDropzone.on("addedfile", function(myfile) {
That worked perfectly but now with parse server I do not know how to make it work.
I have my db on mongodb and deployed parse server on heroku. Everything is working fine except this file upload that I can't manage.
Thank you for your help.
The text was updated successfully, but these errors were encountered: