Relative Content

Tag Archive for amazon-web-servicesamazon-s3corsserverless-framework

CORS error accessing file in S3 from Serverless Framework deployment

I have a project based on a template using Serverless Framework to deploy a react app served from an S3 bucket. The serverless deploy works fine, creates the CloudFormation stack, creates the S3 bucket to distribute the files, but when I load the app, it throws CORS errors, even though everything seems to be fine.

CORS error accessing file in S3 from Serverless Framework deployment

I have a project based on a template using Serverless Framework to deploy a react app served from an S3 bucket. The serverless deploy works fine, creates the CloudFormation stack, creates the S3 bucket to distribute the files, but when I load the app, it throws CORS errors, even though everything seems to be fine.