diff --git a/server/src/main/kotlin/cloud/skadi/gist/Application.kt b/server/src/main/kotlin/cloud/skadi/gist/Application.kt index 20902cbe..62886f33 100644 --- a/server/src/main/kotlin/cloud/skadi/gist/Application.kt +++ b/server/src/main/kotlin/cloud/skadi/gist/Application.kt @@ -190,6 +190,7 @@ fun initS3(): Pair { .build() } else { S3Presigner.builder() + .region(Region.of("nl-ams")) .endpointOverride(URI(S3_ENDPOINT)) .credentialsProvider(credentialsProvider) .build() @@ -202,6 +203,7 @@ fun initS3(): Pair { .build() } else { S3Client.builder() + .region(Region.of("nl-ams")) .endpointOverride(URI(S3_ENDPOINT)) .credentialsProvider(credentialsProvider) .build()