From a5c07117c1f746fc883b005fde3cd6eb8467728f Mon Sep 17 00:00:00 2001 From: Max Fierke Date: Sun, 5 Nov 2023 16:12:45 -0600 Subject: [PATCH] Make ActiveStorage services public-access They're used for user avatars and header images, which are intended to be public anyway --- config/storage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/storage.yml b/config/storage.yml index 11f0191a..347f2fec 100644 --- a/config/storage.yml +++ b/config/storage.yml @@ -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 @@ -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: