mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
Fix CSS path prefix when S3 storage is used
django-sass-processor 1.4 looks up OPTIONS using `sass_processor` instead of `staticfiles`. Fixes #3383.
This commit is contained in:
parent
3545a1c3b6
commit
1a2f434514
1 changed files with 7 additions and 0 deletions
|
@ -404,6 +404,13 @@ if USE_S3:
|
||||||
"default_acl": "public-read",
|
"default_acl": "public-read",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"sass_processor": {
|
||||||
|
"BACKEND": "storages.backends.s3.S3Storage",
|
||||||
|
"OPTIONS": {
|
||||||
|
"location": "static",
|
||||||
|
"default_acl": "public-read",
|
||||||
|
},
|
||||||
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
"BACKEND": "storages.backends.s3.S3Storage",
|
"BACKEND": "storages.backends.s3.S3Storage",
|
||||||
"OPTIONS": {
|
"OPTIONS": {
|
||||||
|
|
Loading…
Reference in a new issue