fix(route): add turbopackIgnore comment to file path construction
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user