From be906564c32a4c288572240732e44a4add1fdfde Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Sat, 18 Apr 2026 09:41:25 +0200 Subject: [PATCH] fix(route): add turbopackIgnore comment to file path construction --- frontend/app/api/images/[filename]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/api/images/[filename]/route.ts b/frontend/app/api/images/[filename]/route.ts index 51f07b4f..a7a87828 100644 --- a/frontend/app/api/images/[filename]/route.ts +++ b/frontend/app/api/images/[filename]/route.ts @@ -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 });