forked from Github/frigate
add nginx and change default file locations
This commit is contained in:
@@ -36,7 +36,7 @@ class FrigateApp():
|
||||
raw_config = f.read()
|
||||
|
||||
if config_file.endswith(".yml"):
|
||||
config = yaml.load(raw_config)
|
||||
config = yaml.safe_load(raw_config)
|
||||
elif config_file.endswith(".json"):
|
||||
config = json.loads(raw_config)
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@ MQTT_SCHEMA = vol.Schema(
|
||||
SAVE_CLIPS_SCHEMA = vol.Schema(
|
||||
{
|
||||
vol.Optional('max_seconds', default=300): int,
|
||||
vol.Optional('clips_dir', default='/clips'): str,
|
||||
vol.Optional('cache_dir', default='/cache'): str
|
||||
vol.Optional('clips_dir', default='/media/frigate/clips'): str,
|
||||
vol.Optional('cache_dir', default='/tmp/cache'): str
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user