-
Notifications
You must be signed in to change notification settings - Fork 14
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
Cors Error while Adding Blog #28
Comments
@aasimtaif guys while sending the post request, I am getting this errors. Can you please check because, since you have worked with this, you might have better idea with it. |
sorry I do not understand the error |
When I tried this problem did not happen during blog upload but during the blog edit |
This I feel is the cors error which comes when using external APIs. I have already added the cors property in the backend but don't know which it still is coming. |
This happened to you during blog upload ?? |
yep @aasimtaif I have also tried updating this code but this is still happening |
It is not happening for me can you show the network tab to see response from backend |
It give internal server error - 500 to me |
Then I think it a backend problem |
the above error occurs when you try to upload a large size image |
I see, can you make PR ? I will merge it. |
@aasimtaif Yes the code is working, actually the issue is that in the cors setting in the backend we have specified the frontend url and during the pr preview it uses different frontend url, hence giving the cors error. I feel it would be great if we can make the cors property general instread of specified for the main frontend url. Also I am closing the #32 pr since I have merged your latest pr, the changes of #32 pr is already been updated in the code. |
Checkout #24
While uploading the new blog, we are facing the cors error.
The text was updated successfully, but these errors were encountered: