Skip to content

Commit c092fb1

Browse files
authored
Merge pull request #214 from dtinit/GCP/point-GSBUCKET-to-the-right-path
GCP: fix GSBUCKET to serve the right static path
2 parents 7d51afa + e00845c commit c092fb1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testbed/settings/production.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
},
3737
}
3838

39+
STATIC_URL = f'<https://storage.googleapis.com/{GS_BUCKET_NAME}/static/>'
40+
MEDIA_URL = f'<https://storage.googleapis.com/{GS_BUCKET_NAME}/media/>'
41+
3942
LOGGING = {
4043
'version': 1,
4144
'disable_existing_loggers': False,

0 commit comments

Comments
 (0)