generated from PlexSheep/rs-base
explicit imports
cargo devel CI / cargo CI (push) Failing after 6s
Details
cargo devel CI / cargo CI (push) Failing after 6s
Details
This commit is contained in:
parent
2140577b3f
commit
c1602ea080
|
@ -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…
Reference in New Issue