aboutsummaryrefslogtreecommitdiffstats
path: root/src/remote/server.rs
blob: bc1dc2bd51813ea55df96cb63659974428980a32 (plain) (blame)
1
2
3
4
5
6
7
8
#[get("/")]
const fn index() -> &'static str {
    "Hello, world!"
}

pub fn launch() {
    rocket::ignite().mount("/", routes![index]).launch();
}