Updating timeout to match new timeout logic.

Logging timeout.  Simplifying timeout logic.

Updating yt-dlp.

Bumping version for status page.

Ignoring /etc for docker.

Using top instead of custom script.

Warning when temperature file does not exist.

Handling when CPU files are not available.

Using swapping drive availablility for size.  Reworking page format.

Creating wrolpi status page.
This commit is contained in:
Roland 2022-06-29 20:07:40 -06:00
parent 59b9f3f81e
commit a1a444934e
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
8 changed files with 331 additions and 19 deletions

View file

@ -175,6 +175,20 @@ export async function getDirectories(search_str) {
return [];
}
export async function getStatus() {
let response = await apiGet(`${API_URI}/status`);
if (response.status === 200) {
return await response.json();
} else {
toast({
type: 'error',
title: 'Unexpected server response',
description: 'Could not get server status',
time: 5000,
});
}
}
export async function getSettings() {
let response = await apiGet(`${API_URI}/settings`);
if (response.status === 200) {