You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by da...@apache.org on 2015/12/09 17:39:22 UTC

cordova-labs git commit: CB-9837 Add data URI support to file-transfer upload on iOS

Repository: cordova-labs
Updated Branches:
  refs/heads/cordova-filetransfer 9f5e1a2e1 -> cf3dc1a46


CB-9837 Add data URI support to file-transfer upload on iOS

Increases direct upload limit to the test image size


Project: http://git-wip-us.apache.org/repos/asf/cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-labs/commit/cf3dc1a4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-labs/tree/cf3dc1a4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-labs/diff/cf3dc1a4

Branch: refs/heads/cordova-filetransfer
Commit: cf3dc1a462cd2245a216f5a54155ea4f93278122
Parents: 9f5e1a2
Author: daserge <v-...@microsoft.com>
Authored: Wed Dec 9 19:33:41 2015 +0300
Committer: daserge <v-...@microsoft.com>
Committed: Wed Dec 9 19:33:41 2015 +0300

----------------------------------------------------------------------
 server.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/cf3dc1a4/server.js
----------------------------------------------------------------------
diff --git a/server.js b/server.js
index c663a71..e4f5764 100644
--- a/server.js
+++ b/server.js
@@ -4,7 +4,7 @@ var formidable = require('formidable'),
     port = process.env.PORT || 5000;
     stringify = require('json-stringify-safe');
 
-var DIRECT_UPLOAD_LIMIT = 32; // bytes
+var DIRECT_UPLOAD_LIMIT = 85; // bytes
 
 // convert from UTF-8 to ISO-8859-1
 var LATIN1_SYMBOLS = '¥§©ÆÖÑøøø¼';


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org