file export bug fix.

pull/29/head
ONLYOFFICE 11 years ago
parent fccd19770d
commit 1302e2e924
  1. 2
      OfficeWeb/sdk/Common/downloaderfiles.js

@ -84,6 +84,8 @@
}; };
} }
function getFile(filePath) { function getFile(filePath) {
var VRegExp = new RegExp(/^http(s)?:\/\/[a-z0-9-.]+(:[\d]*)?\//i);
filePath = filePath.replace(VRegExp, "/");
fh = new FileHandler(); fh = new FileHandler();
fh.get(filePath); fh.get(filePath);
} }
Loading…
Cancel
Save