]> git.parisson.com Git - teleforma.git/commitdiff
fix name
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Wed, 24 Apr 2024 08:26:14 +0000 (10:26 +0200)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Wed, 24 Apr 2024 08:26:14 +0000 (10:26 +0200)
teleforma/views/core.py

index 54daa17ab876e25b10a43a1674fdc07178644197..460eed61ac601fa83c9df84bad1eda165b14cf8b 100644 (file)
@@ -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(