W n8n attention vm

This commit is contained in:
alma 2025-05-24 18:39:43 +02:00
parent 86b824bdd5
commit 51bf98ed18

View File

@ -34,8 +34,8 @@ export async function GET(
segments: pathSegments
});
// Remove any duplicate missions/ prefix
const minioPath = filePath.replace(/^missions\/missions\//, 'missions/');
// Remove the missions/ prefix from the URL path since it's already in the Minio path
const minioPath = filePath.startsWith('missions/') ? filePath : `missions/${filePath}`;
console.log('Full Minio path:', {
minioPath,
bucket: 'missions',