add stripe billing

This commit is contained in:
Ramnique Singh 2025-05-18 01:37:54 +05:30
parent d5302ea2d1
commit 2fda9a7e79
58 changed files with 2348 additions and 485 deletions

View file

@ -1,5 +1,7 @@
import { redirect } from 'next/navigation';
import { requireActiveBillingSubscription } from '../lib/billing';
export default function Page() {
export default async function Page() {
await requireActiveBillingSubscription();
redirect('/projects/select');
}
}