add distro agnostic client

Former-commit-id: 480dcbe66060e90a38580c9eb5a2fba8c14d8768
This commit is contained in:
Daniel Løvbrøtte Olsen
2020-04-20 16:04:09 +02:00
parent 584e04a8d9
commit 98ee5667e4
3 changed files with 5 additions and 5 deletions

View File

@@ -29,8 +29,8 @@ struct SharedState {
#[get("/")]
fn index() -> String {
format!("Wecome to the AV1Master Server version {version}\n
This currently requires a working <a href=\"https://nixos.org/nix/\">nix</a> installion\n
curl -L {baseurl}/client.sh > client.sh && chmod +x ./client.sh && ./client.sh {baseurl}", version=VERSION, baseurl="https://av1.dodsorf.as")
This currently requires a distro with CAP_SYS_USER_NS enabled and correct permissions
curl -L {baseurl}/client.sh > client.sh && chmod +x ./av1client && ./av1client {baseurl}", version=VERSION, baseurl="https://av1.dodsorf.as")
}
#[get("/version")]