Updated resources

This commit is contained in:
mdecimus
2024-04-09 11:57:53 +02:00
parent 23edd40fd0
commit 62aa3be182
7 changed files with 103 additions and 68 deletions

View File

@@ -38,13 +38,13 @@ impl ServerCommands {
}
ServerCommands::ReloadCertificates {} => {
client
.http_request::<Value, String>(Method::GET, "/api/reload/certificates", None)
.http_request::<Value, String>(Method::GET, "/api/reload/certificate", None)
.await;
eprintln!("Success.");
}
ServerCommands::ReloadConfig {} => {
client
.http_request::<Value, String>(Method::GET, "/api/reload/settings", None)
.http_request::<Value, String>(Method::GET, "/api/reload", None)
.await;
eprintln!("Success.");
}