Update FileStorage.js
This commit is contained in:
1 parent
d307f1c028
commit
9ae7a45d9d
1 file changed
+3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user