From 565d22313e06f7368e7d0b285042f0505f197cf2 Mon Sep 17 00:00:00 2001 From: KMKoushik Date: Sun, 29 Sep 2024 08:00:48 +1000 Subject: [PATCH] fix uploads failing in minio --- src/server/storage.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/storage.ts b/src/server/storage.ts index b0b6dad..e0e9562 100644 --- a/src/server/storage.ts +++ b/src/server/storage.ts @@ -18,6 +18,7 @@ const getClient = () => { accessKeyId: env.R2_ACCESS_KEY, secretAccessKey: env.R2_SECRET_KEY, }, + forcePathStyle: true, // needed for minio }); }