mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
Update app.js
This commit is contained in:
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) {
|
||||||
|
|||||||
Reference in new issue
Block a user