Edge function, custom domain and `SUPABASE_URL` env variable
hello
after setting up custom domain, i can call my edge function via that custom domain, but
SUPABASE_URL
SUPABASE_URL
env variable is pointing to the original URL and not to the custom domain.
i'm unable to change
SUPABASE_URL
SUPABASE_URL
env variable, due to error:
$ supabase secrets set SUPABASE_URL="https://api.my-new-domain.com"Env name cannot start with SUPABASE_, skipping: SUPABASE_URLTry rerunning the command with --debug to troubleshoot the error.
$ supabase secrets set SUPABASE_URL="https://api.my-new-domain.com"Env name cannot start with SUPABASE_, skipping: SUPABASE_URLTry rerunning the command with --debug to troubleshoot the error.
I'm using edge function to upload files to supabase storage and respond with the uploaded URL with:
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.