From 83b793b67ad592928bb32d4644d6378cb2e6d91d Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 7 Jul 2020 19:16:11 +0200 Subject: [PATCH] Ports Changed --- src/FileStorage.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/FileStorage.js b/src/FileStorage.js index ee85468b0..937b293c7 100644 --- a/src/FileStorage.js +++ b/src/FileStorage.js @@ -1,4 +1,4 @@ -function newFileStorage (host, port) { +function newFileStorage(host, port) { const MODULE_NAME = 'File Storage' const INFO_LOG = false const logger = newWebDebugLog() @@ -28,11 +28,11 @@ function newFileStorage (host, port) { } if (host === '' || host === undefined) { host = 'localhost' } - if (port === '' || port === undefined) { port = '34247' } + if (port === '' || port === undefined) { port = '34248' } return thisObject - async function getFileFromHost (filePath, callBackFunction, pathComplete) { + async function getFileFromHost(filePath, callBackFunction, pathComplete) { try { if (INFO_LOG === true) { logger.write('[INFO] getFileFromHost -> Entering function.') } @@ -67,7 +67,7 @@ function newFileStorage (host, port) { } } - function verifyRetry (errorCode) { + function verifyRetry(errorCode) { for (let i = 0; i < recoverableErrors.length; i++) { const error = recoverableErrors[i] if (error === errorCode) {