Add log view modal to web UI

This commit is contained in:
Sashanoraa
2025-08-23 23:03:42 -04:00
committed by Cooper Quintin
parent d7c973ea95
commit cef94ba6b0
4 changed files with 130 additions and 5 deletions
+4
View File
@@ -58,6 +58,10 @@ export async function get_system_stats(): Promise<SystemStats> {
return JSON.parse(await req('GET', '/api/system-stats'));
}
export async function get_logs(): Promise<string> {
return await req('GET', '/api/log');
}
export async function get_config(): Promise<Config> {
return JSON.parse(await req('GET', '/api/config'));
}