mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-07 04:21:14 +03:00
fan out config updates to comms
This commit is contained in:
parent
b131db2914
commit
00d98f8369
@ -774,6 +774,8 @@ def config_set(request: Request, body: AppConfigSetBody):
|
|||||||
|
|
||||||
if request.app.dispatcher is not None:
|
if request.app.dispatcher is not None:
|
||||||
request.app.dispatcher.config = config
|
request.app.dispatcher.config = config
|
||||||
|
for comm in request.app.dispatcher.comms:
|
||||||
|
comm.config = config
|
||||||
|
|
||||||
if body.update_topic:
|
if body.update_topic:
|
||||||
if body.update_topic.startswith("config/cameras/"):
|
if body.update_topic.startswith("config/cameras/"):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user