Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge Functions Don't Work With Custom Domain #68

Open
drewbietron opened this issue Mar 3, 2023 · 1 comment
Open

Edge Functions Don't Work With Custom Domain #68

drewbietron opened this issue Mar 3, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@drewbietron
Copy link

drewbietron commented Mar 3, 2023

While using a custom domain with the JS client, Edge Functions do not work. Switching back to the Supabase URL works.

@drewbietron drewbietron added the bug Something isn't working label Mar 3, 2023
@drewbietron drewbietron changed the title Edge Functions Don' Edge Functions Don't Work With Custom Domain Mar 3, 2023
@dennismuench
Copy link

Yes, looks like the JS client library uses the configured SUPABASE_URL to make the request while functions are only reachable using the default domain. I have not found any Supabase CLI flags to deploy with a custom domain nor any settings in the dashboard to change the domain of a deployed function.

@kangmingtay kangmingtay transferred this issue from supabase/supabase-js Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants