This commit is contained in:
2025-11-14 14:47:26 +00:00
parent 69ecf2c7c1
commit 3b4876793e
104 changed files with 231517 additions and 1029 deletions
+5 -2
View File
@@ -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'
}
}
);