add S3 cross-origin-resource configuration