Closed adityapatadia closed 1 year ago
@laosb it would be great if you can merge and release this. Without this, files are stored in weird paths on S3.
Looks good to me, I'll merge now on my phone, and release later.
This is a breaking change, ~though we are still in 0.x~.
Edit: Nevermind, I will release later as 2.0.0 😓.
I have made the required change. Please check once if leading slash is fine or we need to remove it. I could not find any documentation on it.
Hi, This is little bit urgent as our production uploads are stuck. Can you please merge and release. Apologies for the push.
Published as 2.0.0 (with some type check fixes & deps bumped).
Thank you for doing a PR!
urlToPath
function should return actual path without the hostname field. This PR fixes it.