Add endpoint to cheat

This commit is contained in:
Ethan O'Brien
2026-02-06 14:39:49 -06:00
parent f4fcbf30ed
commit 8a666a56b5
5 changed files with 251 additions and 215 deletions

View File

@@ -199,6 +199,7 @@ pub async fn request(req: HttpRequest, body: String) -> HttpResponse {
"/api/webui/startLoginbonus" => webui::start_loginbonus(req, body),
"/api/webui/import" => webui::import(req, body),
"/api/webui/set_time" => webui::set_time(req, body),
"/api/webui/cheat" => webui::cheat(req, body),
_ => api_req(req, body).await
}
} else {