Last weird branch commit
This commit is contained in:
@@ -6,7 +6,8 @@ const supabaseAnonKey = import.meta.env['VITE_SUPABASE_ANON_KEY'] ?? ''
|
||||
function createSupabaseClient(): SupabaseClient {
|
||||
if (!supabaseUrl || !supabaseAnonKey) {
|
||||
// Return a stub client for tests/dev without Supabase configured
|
||||
return createClient('http://localhost:54321', 'stub-key')
|
||||
// Uses port 9999 to match local GoTrue container
|
||||
return createClient('http://localhost:9999', 'stub-key')
|
||||
}
|
||||
return createClient(supabaseUrl, supabaseAnonKey)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user