Merge pull request #3384 from lo48576/fix/css-path-prefix-with-s3-backend

Fix CSS path prefix when S3 storage is used
This commit is contained in:
Bart Schuurmans 2024-07-14 13:24:02 +02:00 committed by GitHub
commit ab307388f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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": {