From: Guillaume Pellerin Date: Wed, 24 Apr 2024 08:26:14 +0000 (+0200) Subject: fix name X-Git-Tag: 2.10.0~14 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=4fa3b3b5d5a9102fbc19fd5336ec2e3fbe3c892e;p=teleforma.git fix name --- diff --git a/teleforma/views/core.py b/teleforma/views/core.py index 54daa17a..460eed61 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -285,7 +285,7 @@ def serve_media(file, content_type="", buffering=True, streaming=False): content_type = guess_mimetypes(file.url) if not settings.DEBUG: - return nginx_file_accel(file.url, content_type=content_type, + return nginx_media_accel(file.url, content_type=content_type, buffering=buffering, streaming=streaming) else: response = StreamingHttpResponse(