Skip to content

S3Adapter returning incorrect url #392

Closed
@nathan-charles

Description

@nathan-charles

I was getting incorrect urls for my files stored in S3. I'm using parse-server 2.0.8

I had to modify the following line in S3Adapter.js

From: return 'https://' + this.bucket + '._s3Client.amazonaws.com' + '/' + this._bucketPrefix + filename;

To: return 'https://' + this._bucket + '.s3.amazonaws.com' + '/' + this._bucketPrefix + filename;

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions