Rebuild videoreg as source-backed SVK technical library V2 candidate
This commit is contained in:
1 parent
056f1a6462
commit
d0fd7068bb
233 files changed
+6803
-42
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { NextResponse } from 'next/server';
|
||||
import snapshot from '@/content/catalog.json';
|
||||
import { parseDashcamCatalogExport } from '@/entities/dashcam-catalog/model/schema';
|
||||
import { articles } from '@/content/library';
|
||||
export const dynamic='force-static';
|
||||
export async function GET(){const catalog=parseDashcamCatalogExport(snapshot);return NextResponse.json({status:'ok',service:'videoreg-web',products:catalog.products.length,metadata:{commitSha:process.env.COMMIT_SHA??'local'}})}
|
||||
export async function GET(){return NextResponse.json({status:'ok',service:'videoreg-web',edition:'rebuild-v2-candidate',articles:articles.length,metadata:{commitSha:process.env.COMMIT_SHA??'local-v2'}})}
|
||||
Reference in new issue
Block a user