Spaces:
Sleeping
Sleeping
Download src/lib/supabase/client.ts from ashnhash/UniHunt: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/spaces/ashnhash/UniHunt/resolve/main/src/lib/supabase/client.ts
- Command line
-
hf download hf://spaces/ashnhash/UniHunt/src/lib/supabase/client.ts
-
curl -L -o client.ts https://huggingface.co/spaces/ashnhash/UniHunt/resolve/main/src/lib/supabase/client.ts
274 Bytes
| import { createBrowserClient } from "@supabase/ssr"; | |
| import type { Database } from "./database.types"; | |
| export function createClient() { | |
| return createBrowserClient<Database>( | |
| process.env.NEXT_PUBLIC_SUPABASE_URL!, | |
| process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY! | |
| ); | |
| } | |