W n8n attention vm
This commit is contained in:
parent
86b824bdd5
commit
51bf98ed18
@ -34,8 +34,8 @@ export async function GET(
|
|||||||
segments: pathSegments
|
segments: pathSegments
|
||||||
});
|
});
|
||||||
|
|
||||||
// Remove any duplicate missions/ prefix
|
// Remove the missions/ prefix from the URL path since it's already in the Minio path
|
||||||
const minioPath = filePath.replace(/^missions\/missions\//, 'missions/');
|
const minioPath = filePath.startsWith('missions/') ? filePath : `missions/${filePath}`;
|
||||||
console.log('Full Minio path:', {
|
console.log('Full Minio path:', {
|
||||||
minioPath,
|
minioPath,
|
||||||
bucket: 'missions',
|
bucket: 'missions',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user