chore: deployment debugging - minimal middleware, health api, and nextjs upgrade

This commit is contained in:
2025-12-18 09:14:13 +01:00
parent 8c5d931b6e
commit f600360505
5 changed files with 244 additions and 92 deletions

View File

@@ -0,0 +1,12 @@
import { NextResponse } from 'next/server';
export async function GET() {
return NextResponse.json({
status: 'ok',
time: new Date().toISOString(),
env: {
supabaseUrl: process.env.NEXT_PUBLIC_SUPABASE_URL ? 'set' : 'missing',
supabaseAnonKey: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY ? 'set' : 'missing'
}
});
}