Skip to content

Commit

Permalink
Switched S3File bucket url from app.domain.com.s3.amazonaws.com to s3…
Browse files Browse the repository at this point in the history
….amazonaws.com/app.domain.com.
  • Loading branch information
rizen committed Oct 28, 2024
1 parent 4fee0e8 commit 7736048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ving/docs/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ outline: deep

### 2024-10-28
* Switched jobs to use redis from a remote cluster.
* Switched S3File bucket url from app.domain.com.s3.amazonaws.com to s3.amazonaws.com/app.domain.com.

### 2024-10-27
* Added ego behavior to useVingRecord() and useVingKind() to allow disambiguation of multiple copies of the same record with different views.
Expand Down
2 changes: 1 addition & 1 deletion ving/record/records/S3File.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class S3FileRecord extends VingRecord {
*/

fileUrl() {
return `https://${process.env.VING_AWS_UPLOADS_BUCKET}.s3.amazonaws.com/${this.get('s3folder')}/${this.get('filename')}`;
return `https://s3.amazonaws.com/${process.env.VING_AWS_UPLOADS_BUCKET}/${this.get('s3folder')}/${this.get('filename')}`;
}

/**
Expand Down

0 comments on commit 7736048

Please sign in to comment.