Skip to content

Commit

Permalink
bug(project): disable signed urls
Browse files Browse the repository at this point in the history
Because

* To migrate to GCPV2 we must disable signed urls

This commit

* Disables signed urls

fixes #11651
  • Loading branch information
jaredlockhart committed Oct 30, 2024
1 parent f27eb2a commit 7b57f3f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions experimenter/experimenter/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,11 +506,14 @@
STORAGES = {
"default": {
"BACKEND": UPLOADS_FILE_STORAGE,
"OPTIONS": {
"bucket_name": UPLOADS_GS_BUCKET_NAME,
}
if UPLOADS_GS_BUCKET_NAME
else {},
"OPTIONS": (
{
"bucket_name": UPLOADS_GS_BUCKET_NAME,
"querystring_auth": False,
}
if UPLOADS_GS_BUCKET_NAME
else {}
),
},
"staticfiles": {
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
Expand Down

0 comments on commit 7b57f3f

Please sign in to comment.