Can I get the Project ID from the Supabase client?
Is there any way to retrieve the project id from and supabase client? I know this information is provided to it via the "SUPABASE_URL" when it is created.
1 Reply
Not that I know of. I store the project id as a secret, and then use it to build the url I pass to supabase client, like
SUPABASE_URL = https://SUPABASE_PROJECT_ID.supabase.co
; easier to change instances that way