Closed dishwad closed 1 year ago
Hi Alex,
Thank you for reporting this issue.
It was just fixed in the beta version of the CLI.
It should reach our mainline on June 13th.
I'm still getting this issue with self-hosted Supabase. The first chunk uploads fine, but then subsequent PATCH
/HEAD
requests are using http://localhost/upload/resumable/[fingerprint]
as the uploadUrl - the same value is stored in localStorage. If I change the uploadUrl (in localStorage) to http://localhost:8000/stoarge/v1/upload/resumable/[fingerprint]
then it manages to complete.
Bug report
Describe the bug
Resumable uploads aren't working during local development because the wrong URL is being generated.
To Reproduce
Javascript code snippet from Discord thread
Python code snippet:
This exception is generated when the
upload_file_to_bucket
function runs:Expected behavior
Should generate
http://localhost/storage/v1/upload
instead ofhttp://localhost/upload
.Screenshots
Screenshot in Discord thread.
System information