diff --git a/src/pages/v1-health.ts b/src/pages/v1-health.ts index eb09adfd8..0984a57dd 100644 --- a/src/pages/v1-health.ts +++ b/src/pages/v1-health.ts @@ -1,4 +1,5 @@ import { execSync } from 'child_process'; + export async function GET() { return new Response(JSON.stringify({}), {}); } diff --git a/src/pages/v1-stats.ts b/src/pages/v1-stats.ts index 681fe6036..4986d75a4 100644 --- a/src/pages/v1-stats.ts +++ b/src/pages/v1-stats.ts @@ -1,5 +1,7 @@ import { execSync } from 'child_process'; +export const prerender = true; + export async function GET() { const commitHash = execSync('git rev-parse HEAD').toString().trim(); const commitDate = execSync('git log -1 --format=%cd').toString().trim();