Spaces:
Running
Running
Download lib/supabaseClient.js from shivay00001/undefined-elegance: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/spaces/shivay00001/undefined-elegance/resolve/main/lib/supabaseClient.js
- Command line
-
hf download hf://spaces/shivay00001/undefined-elegance/lib/supabaseClient.js
-
curl -L -o supabaseClient.js https://huggingface.co/spaces/shivay00001/undefined-elegance/resolve/main/lib/supabaseClient.js
346 Bytes
| import { createClient } from '@supabase/supabase-js' | |
| const supabaseUrl = process.env.NEXT_PUBLIC_SUPABASE_URL | |
| const supabaseAnonKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY | |
| export const supabase = createClient(supabaseUrl, supabaseAnonKey, { | |
| auth: { | |
| autoRefreshToken: true, | |
| persistSession: true, | |
| detectSessionInUrl: true | |
| } | |
| }) |