mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
fixed broken link https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/
This commit is contained in:
parent
1dc42d2904
commit
b385773086
@ -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: http://wiki.nginx.org/NginxXSendfile
|
] = f"/clips/{file_name}" # nginx: https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user