Skip to article
Documentation

src/app/api/search/fields/route.ts

Linked repository file from this build.

import { NextResponse } from "next/server";
import { searchFields } from "@/features/reviews/search-fields";
export const dynamic = "force-dynamic";
export async function GET() {
  return NextResponse.json({ fields: searchFields });
}