latest
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import { createClient, SupabaseClient } from '@supabase/supabase-js';
|
||||
import { logger } from './debugConfig';
|
||||
|
||||
const appProtocol = import.meta.env.VITE_APP_PROTOCOL;
|
||||
const supabaseUrl = `${appProtocol}://${import.meta.env.VITE_SUPABASE_URL}`;
|
||||
const supabaseUrl = import.meta.env.VITE_SUPABASE_URL;
|
||||
const supabaseAnonKey = import.meta.env.VITE_SUPABASE_ANON_KEY;
|
||||
|
||||
logger.info('supabase-client', '🔄 Supabase configuration', {
|
||||
@@ -42,6 +41,10 @@ const getSupabaseClient = () => {
|
||||
'X-Client-Info': 'classroom-copilot',
|
||||
},
|
||||
},
|
||||
// Allow JWT issuer mismatch for local development
|
||||
db: {
|
||||
schema: 'public'
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user