blob: e283b2162bec9170dd82468e4a1d1ad3e49536b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![feature(proc_macro_hygiene, decl_macro)]
use rocket::{get, routes};
#[get("/")]
fn index() -> &'static str {
"Holahey, Jävlar!"
}
fn main() {
rocket::ignite().mount("/", routes![index]).launch();
}
|