paper-ai-release-24-07-21/utils/supabase/client.ts
Liuweiqing 9429952505 init
2024-01-18 15:46:18 +08:00

8 lines
204 B
TypeScript

import { createBrowserClient } from '@supabase/ssr'
export const createClient = () =>
createBrowserClient(
process.env.NEXT_PUBLIC_SUPABASE_URL!,
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
)