mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-21 15:18:09 -07:00
Add log view modal to web UI
This commit is contained in:
committed by
Cooper Quintin
parent
d7c973ea95
commit
cef94ba6b0
@@ -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'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user