diff --git a/tdrive/backend/node/src/core/platform/services/storage/storage-service.ts b/tdrive/backend/node/src/core/platform/services/storage/storage-service.ts index 7ef194a2..0427d2d0 100644 --- a/tdrive/backend/node/src/core/platform/services/storage/storage-service.ts +++ b/tdrive/backend/node/src/core/platform/services/storage/storage-service.ts @@ -38,7 +38,7 @@ export default class StorageService extends TdriveService implements * But for the local storage it's a default value * @private */ - private homeDir = "/tdrive"; + private homeDir = "tdrive"; constructor(protected options?: TdriveServiceOptions) { super(options); @@ -277,6 +277,9 @@ export default class StorageService extends TdriveService implements this.logger.error("For S3 connector home directory MUST NOT start with '/'"); throw new Error("For S3 connector home directory MUST NOT start with '/'"); } + } else { + this.logger.info("For 'local' connector setting home directory to '/tdrive'"); + this.homeDir = "/tdrive"; } } }