From 4fa3b3b5d5a9102fbc19fd5336ec2e3fbe3c892e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 24 Apr 2024 10:26:14 +0200 Subject: [PATCH] fix name --- teleforma/views/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.39.5