mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
await vainfo response
This commit is contained in:
parent
e4c588ced7
commit
b285499fbf
@ -79,7 +79,7 @@ export default function System() {
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
||||
const response = axios.get('vainfo');
|
||||
const response = await axios.get('vainfo');
|
||||
|
||||
if (response.status === 200) {
|
||||
setState({ ...state, showVainfo: true, vainfo: JSON.stringify(response.data, null, 2) });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user