Files
videoreg.ru/web-front/src/app/health/ready/route.ts
T

5 lines
360 B
TypeScript

import { NextResponse } from 'next/server';
import { articles } from '@/fsd/entities/article';
export const dynamic='force-static';
export async function GET(){return NextResponse.json({status:'ok',service:'videoreg-web',edition:'rebuild-v2-limited',restorationComplete:false,articles:articles.length,metadata:{commitSha:process.env.COMMIT_SHA??'local-v2'}})}