mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-23 21:48:13 -05:00
Chore/update yq to 4.48.2 (#20967)
* chore: update yq from 4.33.3 to 4.48.2 * fix: update yq v4 syntax for Frigate config upload command --------- Co-authored-by: Jakub Sojka <jakub.sojka@mallgroup.com>
This commit is contained in:
@@ -258,7 +258,7 @@ curl -X POST http://frigate_host:5000/api/config/save -d @config.json
|
||||
if you'd like you can use your yaml config directly by using [`yq`](https://github.com/mikefarah/yq) to convert it to json:
|
||||
|
||||
```bash
|
||||
yq r -j config.yml | curl -X POST http://frigate_host:5000/api/config/save -d @-
|
||||
yq -o=json '.' config.yaml | curl -X POST 'http://frigate_host:5000/api/config/save?save_option=saveonly' --data-binary @-
|
||||
```
|
||||
|
||||
### Via Command Line
|
||||
|
||||
Reference in New Issue
Block a user