W n8n attention vm

This commit is contained in:
alma 2025-05-24 18:40:59 +02:00
parent 51bf98ed18
commit 96846f0249

View File

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