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