From 362c059046201a352236da64f7aa39d1a7181671 Mon Sep 17 00:00:00 2001 From: smashyalts Date: Tue, 27 Feb 2024 09:48:24 +0100 Subject: [PATCH] Oops --- .../main/java/com/funniray/chunkydedicated/ZipDirectory.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chunky-dedicated/src/main/java/com/funniray/chunkydedicated/ZipDirectory.java b/chunky-dedicated/src/main/java/com/funniray/chunkydedicated/ZipDirectory.java index 95ae7e5..7e1c782 100644 --- a/chunky-dedicated/src/main/java/com/funniray/chunkydedicated/ZipDirectory.java +++ b/chunky-dedicated/src/main/java/com/funniray/chunkydedicated/ZipDirectory.java @@ -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(); } } \ No newline at end of file