Gehan Gonsalkorale

Results 2 issues of Gehan Gonsalkorale

Related to https://github.com/serverless-components/aws-cloudfront/issues/18 * Handles s3 website urls differently - S3 buckets used to serve websites should use CustomOrigin as per https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_S3OriginConfig.html * Allow multiple origins from same s3 bucket...

Currently if an origin domain contains `s3` in it anywhere then it assumes it's an s3 bucket and changes the url to `${bucketName}.s3.amazonaws.com` https://github.com/serverless-components/aws-cloudfront/blob/master/lib/getOriginConfig.js#L18 There should be a more in-depth...