mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-09 00:47:19 +08:00
Add server endpoint for server information page
This commit is contained in:
@@ -181,6 +181,7 @@ pub async fn request(req: HttpRequest, body: String) -> HttpResponse {
|
||||
"/webui/logout" => webui::logout(req),
|
||||
"/api/webui/admin" => webui::admin(req),
|
||||
"/api/webui/export" => webui::export(req),
|
||||
"/api/webui/serverInfo" => webui::server_info(req),
|
||||
_ => api_req(req, body).await
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user