Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
smashyalts committed Feb 27, 2024
1 parent d2f2552 commit 362c059
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,5 @@ private static void zipFile(File fileToZip, String fileName, ZipOutputStream zip
zipOut.write(bytes, 0, length);
}
fis.close();
AmazonS3 s3 = AmazonS3ClientBuilder.standard()
.withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration("https://" + getConfig().get("cloudflare-account-id") + ".r2.cloudflarestorage.com", "auto"))
.withCredentials(new AWSStaticCredentialsProvider(new BasicAWSCredentials(getConfig().get("cloudflare-access-key").toString(), getConfig().get("cloudflare-secret-key").toString())))
.build();
}
}

0 comments on commit 362c059

Please sign in to comment.