GET
Function: GET()
function GET(req): Promise<NextResponse<unknown>>
Defined in: src/app/api/image-proxy/route.tsx:12
API route to proxy image requests to the backend service. It retrieves the image by filename and returns it with the appropriate content type.
Parameters
req
NextRequest
The incoming request object.
Returns
Promise<NextResponse<unknown>>
- A promise that resolves to a NextResponse containing the image data or an error message.