9 lines
270 B
TypeScript
9 lines
270 B
TypeScript
import { NextResponse } from "next/server";
|
|
|
|
export const dynamic = "force-dynamic";
|
|
export function GET() {
|
|
return NextResponse.json({ version: process.env.NEXT_PUBLIC_APP_RELEASE || "development" }, {
|
|
headers: { "Cache-Control": "no-store, max-age=0" },
|
|
});
|
|
}
|