Spaces:
Runtime error
Runtime error
Download apps/web/src/utils/supabase/client.ts from Oheha/cybully-api: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/spaces/Oheha/cybully-api/resolve/main/apps/web/src/utils/supabase/client.ts
- Command line
-
hf download hf://spaces/Oheha/cybully-api/apps/web/src/utils/supabase/client.ts
-
curl -L -o client.ts https://huggingface.co/spaces/Oheha/cybully-api/resolve/main/apps/web/src/utils/supabase/client.ts
221 Bytes
| import { createBrowserClient } from "@supabase/ssr"; | |
| export function createClient() { | |
| return createBrowserClient( | |
| process.env.NEXT_PUBLIC_SUPABASE_URL!, | |
| process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY! | |
| ); | |
| } | |