lbry-desktop/web/setup
infinite-persistence 62e7fe06a5
TUS: Don't retry on 4xx
## Issue/Steps
From Randy:
- started the upload then open a new tab of the same page
- one of the tab finished the upload and successfully published the file, and the other tab received 404 error on patch and head request, because the file is already removed on the server

## Changes
Use the default onRetry code that ignores all 4xx, except for LOCKED and CONFLICT. Had to duplicate some code from tus because I still need to inject the 'retry' progress for the GUI to update the string.
2021-11-12 14:32:41 +08:00
..
publish-v1.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
publish-v2.js TUS: Don't retry on 4xx 2021-11-12 14:32:41 +08:00
publish.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00