Fix #847: Use ASCII filename before upload to S3 to avoid playback issues
This commit is contained in:
parent
30540709eb
commit
2523108b6a
5 changed files with 43 additions and 5 deletions
|
|
@ -323,7 +323,7 @@ if AWS_ACCESS_KEY_ID:
|
|||
AWS_S3_REGION_NAME = env("AWS_S3_REGION_NAME", default=None)
|
||||
AWS_S3_SIGNATURE_VERSION = "s3v4"
|
||||
AWS_LOCATION = env("AWS_LOCATION", default="")
|
||||
DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
|
||||
DEFAULT_FILE_STORAGE = "funkwhale_api.common.storage.ASCIIS3Boto3Storage"
|
||||
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
|
||||
STATICFILES_DIRS = (str(APPS_DIR.path("static")),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue