Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

268 B
Raw Blame
import { notFound } from 'next/navigation'

import { DevSecretAuthForm } from './AuthForm.client'

export default async function DevOnlySecretAuth() {
  if (process.env.NEXT_PUBLIC_DEV_AUTH_PAGE !== 'true') {
    throw notFound()
  }

  return <DevSecretAuthForm />
}