Replace the aws4fetch signing, hand-written URL building, and ListObjectsV2 and error XML parsing with @aws-sdk/client-s3. The SDK sends through storageFetch (Tauri bridge and timeout) or the XHR upload-progress path as its custom fetch, bypasses the browser cache, skips optional checksums that S3-compatible providers reject, and does not retry. It loads lazily with the first storage request. Accept a byte-range reply with status 200 when its Content-Range matches the request, as rclone serve s3 sends, so storage previews load there. Report bodyless errors such as a failed HEAD by status instead of "UnknownError". storageFetch now honours the abort signal of a Request it is given. |
||
|---|---|---|
| .. | ||
| checks | ||
| ci | ||
| dev | ||
| generate | ||
| release | ||
| AGENTS.md | ||
| package.json | ||
| tsconfig.json | ||