mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 14:45:24 +02:00
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
15 lines
374 B
TypeScript
15 lines
374 B
TypeScript
/// <reference types="node" />
|
|
import { createClient } from '@supabase/supabase-js';
|
|
|
|
const url = process.env.SUPABASE_URL || '';
|
|
const key = process.env.SUPABASE_ANON_KEY || '';
|
|
|
|
export const supabaseAuth = createClient(url, key, {
|
|
auth: {
|
|
autoRefreshToken: true,
|
|
persistSession: true,
|
|
detectSessionInUrl: true,
|
|
storageKey: 'craze-auth-session',
|
|
},
|
|
});
|