Skip to content

In local dev, resumable download URLs don't respect studio.api_url #3424

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

Open
2 tasks done
icopp opened this issue Apr 11, 2025 · 0 comments
Open
2 tasks done

In local dev, resumable download URLs don't respect studio.api_url #3424

icopp opened this issue Apr 11, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@icopp
Copy link

icopp commented Apr 11, 2025

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

When using a local setup with a reverse proxy or similar, and using resumable upload functionality, the generated resumable upload URLs ignore the studio.api_url value from config.toml.

To Reproduce

  • Set up local Supabase dev environment with a reverse proxy (for example, proxy https://supabase.localhost to http://localhost:54321)
  • Set studio.api_url in config.toml to your desired address (for example, https://supabase.localhost)
  • Try to use a resumable upload. It will generate URLs with confused, nonfunctional hostnames/ports (for example, http://supabase.localhost:54321)

Expected behavior

Generated resumable upload URLs should be based on studio.api_url, the same as everything else (like signed image URLs, which work as expected).

Screenshots

n/a

System information

  • OS: macOS
  • Browser (if applies) n/a
  • Version of supabase-js: 2.49.4
  • Version of Node.js: 22.12.0
@icopp icopp added the bug Something isn't working label Apr 11, 2025
@w3b6x9 w3b6x9 transferred this issue from supabase/supabase Apr 12, 2025
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

1 participant