update: added rparodi
This commit is contained in:
parent
4aac134f46
commit
2714eb0585
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ struct GroupsUsers {
|
||||||
id: u64,
|
id: u64,
|
||||||
}
|
}
|
||||||
|
|
||||||
const ALLOWED_USERS: &[u64] = &[/*maiboyer*/ 159559, /*nfelsemb*/ 95340];
|
const ALLOWED_USERS: &[u64] = &[/*maiboyer*/ 159559, /*nfelsemb*/ 95340, /*rparodi*/ 159453];
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
|
|
@ -105,6 +105,7 @@ async fn main() {
|
||||||
let app = Router::new()
|
let app = Router::new()
|
||||||
// `GET /` goes to `root`
|
// `GET /` goes to `root`
|
||||||
.route("/manager", get(root))
|
.route("/manager", get(root))
|
||||||
|
.route("/manager/", get(root))
|
||||||
.route("/manager/status", get(status))
|
.route("/manager/status", get(status))
|
||||||
.route("/manager/status_container", get(status_container))
|
.route("/manager/status_container", get(status_container))
|
||||||
.route("/manager/stop", get(stop))
|
.route("/manager/stop", get(stop))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue