From 15060e013eabc9bea7147f3c237cc267613a76be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Szczeci=C5=84ski?= Date: Sun, 24 Nov 2024 15:18:54 +0100 Subject: [PATCH] Add "publicRead" default ACL for GCS static files bucket --- app/server/settings/prod.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/server/settings/prod.py b/app/server/settings/prod.py index d4b9c6a2..d8ae9cea 100644 --- a/app/server/settings/prod.py +++ b/app/server/settings/prod.py @@ -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",