MOBILE-2622 desktop: Fix upload files in Windows and Linux

main
dpalou 2018-09-19 15:57:38 +02:00
parent a6b6d28d40
commit a50b54e56c
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ export class CoreFileUploaderHelperProvider {
} }
// Make sure the path has the protocol. In iOS it doesn't. // Make sure the path has the protocol. In iOS it doesn't.
if (path.indexOf('file://') == -1) { if (this.appProvider.isMobile() && path.indexOf('file://') == -1) {
path = 'file://' + path; path = 'file://' + path;
} }