Created
September 26, 2019 16:27
-
-
Save recursivecodes/f8103b0cec3c561e655df28458bb87fc to your computer and use it in GitHub Desktop.
BlogController.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BlogController(BlogService blogService, AmazonS3Service amazonS3Service) { | |
this.blogService = blogService | |
this.amazonS3Service = amazonS3Service | |
this.amazonS3Service.client.clientOptions.pathStyleAccess = true | |
this.amazonS3Service.client.clientOptions.chunkedEncodingDisabled = true | |
this.amazonS3Service.client.endpoint = "${grailsApplication.config.codes.recursive.aws.s3.namespace}.compat.objectstorage.${grailsApplication.config.codes.recursive.aws.s3.region}.oraclecloud.com" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment