THANH .V TRAN

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in CORS hatchbox.io

I deployed my app with hatchbox.io but cannt update the image and got the error as below:

Access to XMLHttpRequest at 'https://wellicanbucket.s3.ap-southeast-2.amazonaws.com/wacxzy7llqdcamldoaiuei3r268d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIASO3GQAHA64L3KQGV%2F20200411%2Fap-southeast-2%2Fs3%2Faws4_request&X-Amz-Date=20200411T043306Z&X-Amz-Expires=300&X-Amz-SignedHeaders=content-md5%3Bcontent-type%3Bhost&X-Amz-Signature=f08b57203d21753f05bf408059c9e2b00122eabd6be87caf2603b0d0bdcb9b4e' from origin 'http://edjl.hatchboxapp.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

So how can I enable CORS on hatchbox.io?