generated from PlexSheep/rs-base
automatic cargo CI changes
This commit is contained in:
parent
fdb5c41e75
commit
b661e2de91
|
@ -1,4 +1,4 @@
|
||||||
use rocket::{get,launch,routes};
|
use rocket::{get, launch, routes};
|
||||||
use rocket_dyn_templates::{context, Template};
|
use rocket_dyn_templates::{context, Template};
|
||||||
|
|
||||||
#[get("/")]
|
#[get("/")]
|
||||||
|
@ -8,5 +8,7 @@ fn index() -> Template {
|
||||||
|
|
||||||
#[launch]
|
#[launch]
|
||||||
fn entrypoint() -> _ {
|
fn entrypoint() -> _ {
|
||||||
rocket::build().mount("/", routes![index]).attach(Template::fairing())
|
rocket::build()
|
||||||
|
.mount("/", routes![index])
|
||||||
|
.attach(Template::fairing())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue