generated from PlexSheep/rs-base
This commit is contained in:
parent
2140577b3f
commit
c1602ea080
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#[macro_use] extern crate rocket;
|
use rocket::{get,launch,routes};
|
||||||
|
|
||||||
#[get("/")]
|
#[get("/")]
|
||||||
fn index() -> &'static str {
|
fn index() -> &'static str {
|
||||||
|
@ -6,6 +6,6 @@ fn index() -> &'static str {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[launch]
|
#[launch]
|
||||||
fn rocket() -> _ {
|
fn entrypoint() -> _ {
|
||||||
rocket::build().mount("/", routes![index])
|
rocket::build().mount("/", routes![index])
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue