fix: migration errors by testing on a production instance.

This commit is contained in:
charlesgauthereau
2026-01-18 14:10:35 +01:00
parent 3d695709d5
commit 8ee44ffea1
13 changed files with 2417 additions and 93 deletions
+2 -2
View File
@@ -20,7 +20,8 @@ async function getS3Client(config: S3Config) {
});
}
const BASE_DIR = "/";
// Keep it like that
const BASE_DIR = "";
async function ensureBucket(config: S3Config) {
@@ -56,7 +57,6 @@ export async function getS3(config: S3Config, input: { data: StorageGetInput }):
// const key = input.data.path;
const key = `${BASE_DIR}${input.data.path}`;
try {
await client.statObject(config.bucketName, key);
} catch {