61517879e1
- Create Kong declarative configuration for routing and authentication. - Implement initialization script to set up the database. - Add SQL migration for initializing roles, schemas, and seeding vehicle data. - Create leads and customers tables with appropriate policies and functions for CRM. - Seed admin user and configure storage bucket with RLS policies.
9 lines
549 B
JavaScript
9 lines
549 B
JavaScript
// Fallback runtime config — overwritten by the nginx container entrypoint at
|
|
// boot with values from SUPABASE_URL / SUPABASE_ANON_KEY env vars. Only the
|
|
// anon key is ever exposed to the browser. The service_role key stays server-
|
|
// side (Supabase Studio / PostgREST container environment).
|
|
window.MCCARS_CONFIG = {
|
|
SUPABASE_URL: "http://localhost:54321",
|
|
SUPABASE_ANON_KEY: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0",
|
|
};
|