Webui starting to work a bit better

This commit is contained in:
Igor Katson 2023-11-21 12:56:07 +00:00
parent e5d96243d4
commit 795ae82439
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
5 changed files with 415 additions and 404 deletions

View file

@ -57,7 +57,8 @@ impl HttpApi {
"GET /torrents/{index}/peer_stats": "Per peer stats",
// This is kind of not secure as it just reads any local file that it has access to,
// or any URL, but whatever, ok for our purposes / threat model.
"POST /torrents": "Add a torrent here. magnet: or http:// or a local file."
"POST /torrents": "Add a torrent here. magnet: or http:// or a local file.",
"GET /web/": "Web UI",
},
"server": "rqbit",
}))