W n8n attention vm
This commit is contained in:
parent
86b824bdd5
commit
51bf98ed18
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user