mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-21 23:47:56 +00:00
Merge branch 'main' of https://github.com/pezkuwichain/pwap
# Conflicts: # mobile/check_existing_tables.cjs # mobile/src/lib/supabase.ts # web/src/i18n/locales/ar.ts # web/src/i18n/locales/ckb.ts # web/src/i18n/locales/en.ts # web/src/i18n/locales/fa.ts # web/src/i18n/locales/kmr.ts # web/src/i18n/locales/tr.ts
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
const { createClient } = require('@supabase/supabase-js');
|
||||
|
||||
const supabaseUrl = 'https://vsyrpfiwhjvahofxwytr.supabase.co';
|
||||
const supabaseKey = 'REDACTED_SUPABASE_ANON_KEY';
|
||||
const supabaseKey = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InZzeXJwZml3aGp2YWhvZnh3eXRyIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjAwMjYxNTgsImV4cCI6MjA3NTYwMjE1OH0.dO2c8YWIph2D95X7jFdlGYJ8MXyuyorkLcjQ6onH-HE';
|
||||
|
||||
const supabase = createClient(supabaseUrl, supabaseKey);
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import { ENV } from '../config/environment';
|
||||
|
||||
// Hardcoded fallbacks for production builds where ENV may not be available
|
||||
const FALLBACK_SUPABASE_URL = 'https://vsyrpfiwhjvahofxwytr.supabase.co';
|
||||
const FALLBACK_SUPABASE_KEY = 'REDACTED_SUPABASE_ANON_KEY';
|
||||
const FALLBACK_SUPABASE_KEY = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InZzeXJwZml3aGp2YWhvZnh3eXRyIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjAwMjYxNTgsImV4cCI6MjA3NTYwMjE1OH0.dO2c8YWIph2D95X7jFdlGYJ8MXyuyorkLcjQ6onH-HE';
|
||||
|
||||
// Initialize Supabase client from environment variables with fallbacks
|
||||
const supabaseUrl = ENV.supabaseUrl || FALLBACK_SUPABASE_URL;
|
||||
|
||||
Reference in New Issue
Block a user