Update app.js

This commit is contained in:
Sergio R. Caprile authored and GitHub committed 2022-07-01 15:58:03 -03:00
1 parent d6e1a3ab4c
commit d13509e302
1 file changed
+1 -1
@@ -20,7 +20,7 @@ var sendFileData = function(name, data, chunkSize) {
var url = '/upload?offset=' + offset + '&name=' + encodeURIComponent(name); var url = '/upload?offset=' + offset + '&name=' + encodeURIComponent(name);
var ok; var ok;
setStatus( setStatus(
'Upoading ' + name + ', bytes ' + offset + '..' + 'Uploading ' + name + ', bytes ' + offset + '..' +
(offset + chunk.length) + ' of ' + data.length); (offset + chunk.length) + ' of ' + data.length);
fetch(url, opts) fetch(url, opts)
.then(function(res) { .then(function(res) {