Skip to content

Commit

Permalink
Add "publicRead" default ACL for GCS static files bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
bartacc committed Nov 24, 2024
1 parent 49a6242 commit 15060e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/server/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
# Upload generated static files to Google Cloud Storage bucket
bucket_name = os.environ.get("GCS_BUCKET_NAME", "")
STATIC_URL = "https://storage.googleapis.com/" + bucket_name + "/"
GS_DEFAULT_ACL = "publicRead"
STORAGES = {
"default": {
"BACKEND": "storages.backends.gcloud.GoogleCloudStorage",
Expand Down

0 comments on commit 15060e0

Please sign in to comment.