We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9248f9a commit 5c3ed12Copy full SHA for 5c3ed12
src/Adapters/Files/S3Adapter.js
@@ -88,7 +88,7 @@ export class S3Adapter extends FilesAdapter {
88
// The location is the direct S3 link if the option is set, otherwise we serve the file through parse-server
89
getFileLocation(config, filename) {
90
if (this._directAccess) {
91
- return ('https://' + this.bucket + '._s3Client.amazonaws.com' + '/' + this._bucketPrefix + filename);
+ return ('https://' + this.bucket + '.s3.amazonaws.com' + '/' + this._bucketPrefix + filename);
92
}
93
return (config.mount + '/files/' + config.applicationId + '/' + encodeURIComponent(filename));
94
0 commit comments