fixed download part size, added index.html
This commit is contained in:
parent
9762d8391f
commit
051341eb0e
@ -2421,8 +2421,8 @@ factory('MtpApiFileManager', function (MtpApiManager, $q, $window) {
|
|||||||
cacheFileWriter = fileWriter;
|
cacheFileWriter = fileWriter;
|
||||||
|
|
||||||
// var limit = size > 102400 ? 65536 : 4096;
|
// var limit = size > 102400 ? 65536 : 4096;
|
||||||
// var limit = size > 30400 ? 524288 : 4096;
|
var limit = size > 30400 ? 524288 : 4096;
|
||||||
var limit = size > 30400 ? 20480 : 4096;
|
// var limit = size > 30400 ? 20480 : 4096;
|
||||||
var writeFilePromise = $q.when(),
|
var writeFilePromise = $q.when(),
|
||||||
writeFileDeferred;
|
writeFileDeferred;
|
||||||
for (var offset = 0; offset < size; offset += limit) {
|
for (var offset = 0; offset < size; offset += limit) {
|
||||||
|
6
index.html
Normal file
6
index.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en" ng-app="myApp" ng-csp="">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="1; url=app/">
|
||||||
|
</head>
|
||||||
|
</html>
|
Loading…
x
Reference in New Issue
Block a user