How to set proper URL and KEY when serving edge functions locally

I can't seem to understand how to connect to supabase without hardcoding values inside the function. When I log SUPABASE_URL inside the function it yields http://supabase_kong_Projects:8000. Obviously I want to set this to my account so I can get actual data.

It works fine when deployed to supabase.
Was this page helpful?