mirror of https://github.com/rwf2/Rocket.git
Don't disable default 'Shield' in 'hello' example.
This commit is contained in:
parent
a26f93c572
commit
a7cfa4c8b7
|
@ -61,5 +61,4 @@ fn rocket() -> _ {
|
||||||
.mount("/", routes![hello])
|
.mount("/", routes![hello])
|
||||||
.mount("/hello", routes![world, mir])
|
.mount("/hello", routes![world, mir])
|
||||||
.mount("/wave", routes![wave])
|
.mount("/wave", routes![wave])
|
||||||
.attach(rocket::shield::Shield::new())
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue