feat: initialize MinIO bucket on server start and log status
This commit is contained in:
@@ -38,6 +38,7 @@ export const ensureMinioBucket = async (): Promise<void> => {
|
||||
|
||||
try {
|
||||
await ensureBucketPromise;
|
||||
console.log("Minio Up")
|
||||
} catch (error) {
|
||||
ensureBucketPromise = null;
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user