Add support for more advanced forms of overriding

This commit is contained in:
Dermot Duffy committed 2024-04-13 18:23:11 -07:00
1 parent 0eca5d780c
commit 323925101d
21 files changed
+855 -285

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ export class CameraManager {
// order, to ensure that the defaults in the cameras global config do not
// override the values specified in the per-camera config.
const cameras = config.cameras.map((camera) =>
recursivelyMergeObjectsNotArrays(cloneDeep(config?.cameras_global), camera),
recursivelyMergeObjectsNotArrays({}, cloneDeep(config?.cameras_global), camera),
);
try {