Skip to content

Commit

Permalink
Make ActiveStorage services public-access
Browse files Browse the repository at this point in the history
They're used for user avatars and header images, which are intended to be public anyway
  • Loading branch information
maxfierke committed Nov 5, 2023
1 parent aff621e commit a5c0711
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ amazon:
secret_access_key: <%= ENV['AWS_SECRET_ACCESS_KEY']%>
region: <%= ENV['S3_REGION'] %>
bucket: <%= ENV['S3_BUCKET_NAME'] %>
public: true

digitalocean:
service: S3
Expand All @@ -20,6 +21,7 @@ digitalocean:
region: <%= ENV['S3_REGION'] %>
bucket: <%= ENV['S3_BUCKET_NAME'] %>
endpoint: <%= ENV['S3_ENDPOINT'] %>
public: true

# Remember not to checkin your GCS keyfile to a repository
# google:
Expand Down

0 comments on commit a5c0711

Please sign in to comment.