mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Set correect return type for raw config
This commit is contained in:
parent
a8e2f97260
commit
d398061118
@ -160,7 +160,9 @@ def config_raw():
|
|||||||
raw_config = f.read()
|
raw_config = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
return raw_config, 200
|
return JSONResponse(
|
||||||
|
content=raw_config, media_type="text/plain", status_code=200
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@router.post("/config/save")
|
@router.post("/config/save")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user