Get Current Project URL in PG_NET http_post?

Hello,

I'm adding a cron schedule as outlined here in the documentation (https://supabase.com/docs/guides/functions/schedule-functions#invoke-an-edge-function-every-minute).

Is there anyway I can pass the URL here without using a hardcoded string? I expect the url or at least the base url of the project is known at this stage?

Thanks for any help!
Schedule Edge Functions with pg_cron.
Was this page helpful?