fix(route): add turbopackIgnore comment to file path construction

This commit is contained in:
Nils-Johan Gynther
2026-04-18 09:41:25 +02:00
parent 0ea6cde83a
commit be906564c3
+1 -1
View File
@@ -15,7 +15,7 @@ export async function GET(
return new NextResponse('Not found', { status: 404 });
}
const filePath = path.join(IMAGE_DIR, filename);
const filePath = path.join(/*turbopackIgnore: true*/ IMAGE_DIR, filename);
if (!fs.existsSync(filePath)) {
return new NextResponse('Not found', { status: 404 });