summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: 2c4d0737344ac1f6d4f7012b8a35626358fb87ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[macro_use] extern crate rocket;

mod config;

#[launch]
fn rocket() -> _ {
    rocket::build().mount("/", routes![index])
}

#[get("/")]
fn index() -> &'static str {
    "Hello, world!"
}