Update FileStorage.js

This commit is contained in:
Luis Fernando Molina committed 2020-04-25 09:09:06 +02:00
1 parent d307f1c028
commit 9ae7a45d9d
1 file changed
+3
+3
View File
@@ -27,6 +27,9 @@ function newFileStorage (host, port) {
getFileFromHost: getFileFromHost
}
if (host === '' || host === undefined) { host = 'localhost' }
if (port === '' || port === undefined) { port = '34247' }
return thisObject
async function getFileFromHost (filePath, callBackFunction, pathComplete) {