Spaces:
Running
Running
Download MobileApp/src/lib/supabase.js from ritesh19180/ai-helpdesk-api: direct link, hf CLI and curl.
- Browser
- Download file 659 Bytes
-
https://huggingface.co/spaces/ritesh19180/ai-helpdesk-api/resolve/main/MobileApp/src/lib/supabase.js
- Command line
-
hf download hf://spaces/ritesh19180/ai-helpdesk-api/MobileApp/src/lib/supabase.js
-
curl -L -o supabase.js https://huggingface.co/spaces/ritesh19180/ai-helpdesk-api/resolve/main/MobileApp/src/lib/supabase.js
659 Bytes
| import 'react-native-url-polyfill/auto'; | |
| import { createClient } from '@supabase/supabase-js'; | |
| import AsyncStorage from '@react-native-async-storage/async-storage'; | |
| const supabaseUrl = 'https://aejuenhqciagpntcqoir.supabase.co'; | |
| const supabaseKey = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImFlanVlbmhxY2lhZ3BudGNxb2lyIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzIzODQwNzgsImV4cCI6MjA4Nzk2MDA3OH0.-OxgEW5t4alPGlzV_JZDRZcLsQbbMap6jiWjfAVkMMY'; | |
| export const supabase = createClient(supabaseUrl, supabaseKey, { | |
| auth: { | |
| storage: AsyncStorage, | |
| autoRefreshToken: true, | |
| persistSession: true, | |
| detectSessionInUrl: false, | |
| }, | |
| }); | |