diff --git a/sanic/static.py b/sanic/static.py index 0798e2fe..f2d02ab0 100644 --- a/sanic/static.py +++ b/sanic/static.py @@ -104,7 +104,7 @@ def register(app, uri, file_or_directory, pattern, if isinstance(stream_large_files, int): threshold = stream_large_files else: - threshold = 1024 * 1000 + threshold = 1024 * 1024 if not stats: stats = await stat(file_path)