11 lines
310 B
TypeScript
11 lines
310 B
TypeScript
import { NextRequest } from "next/server"
|
|
import { handleImageProxyRequest } from "@/lib/api-proxy"
|
|
|
|
export async function PUT(
|
|
req: NextRequest,
|
|
context: { params: Promise<{ id: string }> }
|
|
) {
|
|
const { id } = await context.params
|
|
return handleImageProxyRequest(req, `/admin/settings/${id}`)
|
|
}
|