From 2b908c3e4b6889552e3e91954b51c84b2581d180 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 6 Nov 2024 17:01:20 +0100 Subject: [PATCH] fix(core): Fix endpoint address from localhost to 127.0.0.1 for better compatibility in Smarts3.getS3Descriptor --- changelog.md | 5 +++++ ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 584e254..3977baf 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2024-11-06 - 2.2.3 - fix(core) +Fix endpoint address from 'localhost' to '127.0.0.1' for better compatibility in Smarts3.getS3Descriptor + +- Corrected the endpoint address in Smarts3.getS3Descriptor to ensure proper functioning across different environments. + ## 2024-11-06 - 2.2.2 - fix(core) Fixed function call for fastPut in the test suite to ensure proper file upload handling. diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 893842c..0e88366 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smarts3', - version: '2.2.2', + version: '2.2.3', description: 'A Node.js TypeScript package to create a local S3 endpoint for simulating AWS S3 operations using mapped local directories for development and testing purposes.' } diff --git a/ts/index.ts b/ts/index.ts index 4fe004e..4f7efa1 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -46,7 +46,7 @@ export class Smarts3 { return { accessKey: 'S3RVER', accessSecret: 'S3RVER', - endpoint: 'localhost', + endpoint: '127.0.0.1', port: this.options.port, useSsl: false, };