SupabaseS
Supabase5mo ago
Idris

Get supabase url from postgres

Hi, I am trying to construct the url of my edge function so i can call it with pg_net.

I hoped app.supabase.url would exist
function_url := current_setting('app.supabase.url', true) || '/functions/v1/push';


But it doesnt, is their a way to get the env variable or is there another setting?
Was this page helpful?