fix(core): Fix endpoint address from localhost to 127.0.0.1 for better compatibility in Smarts3.getS3Descriptor

This commit is contained in:
Philipp Kunz 2024-11-06 17:01:20 +01:00
parent dfb77842d3
commit 2b908c3e4b
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog # 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) ## 2024-11-06 - 2.2.2 - fix(core)
Fixed function call for fastPut in the test suite to ensure proper file upload handling. Fixed function call for fastPut in the test suite to ensure proper file upload handling.

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smarts3', 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.' 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.'
} }

View File

@ -46,7 +46,7 @@ export class Smarts3 {
return { return {
accessKey: 'S3RVER', accessKey: 'S3RVER',
accessSecret: 'S3RVER', accessSecret: 'S3RVER',
endpoint: 'localhost', endpoint: '127.0.0.1',
port: this.options.port, port: this.options.port,
useSsl: false, useSsl: false,
}; };