Skip to content

Commit

Permalink
upload bug fix prevent inf loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirari04 committed Aug 15, 2023
1 parent c0a9e9b commit 1adf371
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/examples/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ <h2>Choose Video File</h2>
).then((response) => {
if (
response.status !== 200 &&
response.status !== 404
response.status !== 404 &&
response.status !== 400
) {
log(`Retry Chunck ${i}`);
uploadChunck(fileChunck, i);
Expand Down

0 comments on commit 1adf371

Please sign in to comment.