add nginx and change default file locations

This commit is contained in:
Blake Blackshear
2020-11-02 05:44:16 -06:00
parent eced06eea8
commit b7c09a9b38
8 changed files with 97 additions and 13 deletions

View File

@@ -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)