Skip to content

Commit 9583a97

Browse files
authored
fix uploads failing in minio (#112)
1 parent 003315b commit 9583a97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/storage.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const getClient = () => {
1818
accessKeyId: env.R2_ACCESS_KEY,
1919
secretAccessKey: env.R2_SECRET_KEY,
2020
},
21+
forcePathStyle: true, // needed for minio
2122
});
2223
}
2324

0 commit comments

Comments
 (0)