mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-09 08:37:37 +03:00
update dispatcher config reference on save
This commit is contained in:
parent
9e0e4162f9
commit
7c0e5a8f17
@ -694,6 +694,9 @@ def config_set(request: Request, body: AppConfigSetBody):
|
|||||||
if request.app.stats_emitter is not None:
|
if request.app.stats_emitter is not None:
|
||||||
request.app.stats_emitter.config = config
|
request.app.stats_emitter.config = config
|
||||||
|
|
||||||
|
if request.app.dispatcher is not None:
|
||||||
|
request.app.dispatcher.config = config
|
||||||
|
|
||||||
if body.update_topic:
|
if body.update_topic:
|
||||||
if body.update_topic.startswith("config/cameras/"):
|
if body.update_topic.startswith("config/cameras/"):
|
||||||
_, _, camera, field = body.update_topic.split("/")
|
_, _, camera, field = body.update_topic.split("/")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user