mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
This commit is contained in:
parent
6c5b65fb03
commit
3c0c32ee82
@ -876,7 +876,7 @@ def event_clip(id):
|
|||||||
response.headers["Content-Length"] = os.path.getsize(clip_path)
|
response.headers["Content-Length"] = os.path.getsize(clip_path)
|
||||||
response.headers[
|
response.headers[
|
||||||
"X-Accel-Redirect"
|
"X-Accel-Redirect"
|
||||||
] = f"/clips/{file_name}" # nginx: https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/
|
] = f"/clips/{file_name}" # nginx: https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ignore_headers
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user