import { revalidate } from "lib/commercetools/queries"; import { NextRequest, NextResponse } from "next/server"; export const runtime = "edge"; export async function POST(req: NextRequest): Promise { return revalidate(req); }