mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 10:11:13 -05:00
Code edited in Lovable Code Editor
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
// Supabase client configuration with project credentials.
|
// Supabase client configuration with project credentials.
|
||||||
// Note: The anon key is a publishable key and safe to expose in client-side code.
|
// Note: The anon key is a publishable key and safe to expose in client-side code.
|
||||||
import { createClient } from '@supabase/supabase-js';
|
import { createClient } from "@supabase/supabase-js";
|
||||||
import type { Database } from './types';
|
import type { Database } from "./types";
|
||||||
import { authStorage } from '@/lib/authStorage';
|
import { authStorage } from "@/lib/authStorage";
|
||||||
|
|
||||||
const SUPABASE_URL = "https://ydvtmnrszybqnbcqbdcy.supabase.co";
|
const SUPABASE_URL = "https://api.thrillwiki.com";
|
||||||
const SUPABASE_PUBLISHABLE_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InlkdnRtbnJzenlicW5iY3FiZGN5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTgzMjYzNTYsImV4cCI6MjA3MzkwMjM1Nn0.DM3oyapd_omP5ZzIlrT0H9qBsiQBxBRgw2tYuqgXKX4";
|
const SUPABASE_PUBLISHABLE_KEY =
|
||||||
|
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InlkdnRtbnJzenlicW5iY3FiZGN5Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTgzMjYzNTYsImV4cCI6MjA3MzkwMjM1Nn0.DM3oyapd_omP5ZzIlrT0H9qBsiQBxBRgw2tYuqgXKX4";
|
||||||
|
|
||||||
// Import the supabase client like this:
|
// Import the supabase client like this:
|
||||||
// import { supabase } from "@/integrations/supabase/client";
|
// import { supabase } from "@/integrations/supabase/client";
|
||||||
@@ -15,5 +16,5 @@ export const supabase = createClient<Database>(SUPABASE_URL, SUPABASE_PUBLISHABL
|
|||||||
storage: authStorage,
|
storage: authStorage,
|
||||||
persistSession: true,
|
persistSession: true,
|
||||||
autoRefreshToken: true,
|
autoRefreshToken: true,
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user