Fix downloading file from the drive

This commit is contained in:
yflory
2019-08-26 18:17:39 +02:00
parent a67f7d3edb
commit 3f6e64338a
4 changed files with 7 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ define([
var secret;
var metadataMgr = common.getMetadataMgr();
var priv = metadataMgr.getPrivateData();
var fileHost = priv.fileHost || priv.origin;
var fileHost = priv.fileHost || priv.origin || '';
if (!priv.filehash) {
uploadMode = true;