Skip to content

Commit

Permalink
Merge branch 'stable' into release-2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Jul 13, 2023
2 parents df1bd78 + 828e9e7 commit b8c52eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.0.5

* Use non-legacy URLs and endpoints for assets. i.e. s3.regioncode.amazonaws.com and NOT s3-regioncode.amazonaws.com

## 1.0.4

* [#10](https://github.com/pixl8/preside-ext-s3-storage-provider/issues/10) fix for bad `$raiseError()` function call that was not wanted in the first place
Expand Down
2 changes: 1 addition & 1 deletion services/S3StorageProvider.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ component implements="preside.system.services.fileStorage.StorageProvider" displ
_setTrashDirectory( arguments.s3subpath & arguments.s3trashRootPath );

if ( !StructKeyExists( arguments, "s3rootUrl" ) ) {
arguments.s3RootUrl = "https://s3-#arguments.s3region#.amazonaws.com/#arguments.s3Bucket##_getPublicDirectory()#";
arguments.s3RootUrl = "https://s3.#arguments.s3region#.amazonaws.com/#arguments.s3Bucket##_getPublicDirectory()#";
}

_setRootUrl( arguments.s3rootUrl );
Expand Down

0 comments on commit b8c52eb

Please sign in to comment.