8 lines
325 B
TypeScript
8 lines
325 B
TypeScript
// The version this frontend runs (the commit it was built from), for the
|
|||
|
|
// pages' new-version notice (VersionWatcher). null in development.
|
||
|
|
export const dynamic = "force-dynamic";
|
||
|
|
|
||
|
|
export function GET() {
|
||
|
|
return Response.json({ version: process.env.APP_VERSION || null }, { headers: { "cache-control": "no-store" } });
|
||
|
|
}
|