mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
fix rust formatting
This commit is contained in:
parent
f730e6a580
commit
45c50923b7
@ -73,9 +73,11 @@ fn http_config<Backend>(
|
|||||||
// Serve static files
|
// Serve static files
|
||||||
.service(Files::new("/static", "./app/static"))
|
.service(Files::new("/static", "./app/static"))
|
||||||
// Serve the index
|
// Serve the index
|
||||||
.service(web::scope("/")
|
.service(
|
||||||
|
web::scope("/")
|
||||||
.route("", web::get().to(index))
|
.route("", web::get().to(index))
|
||||||
.route("index.html", web::get().to(index)));
|
.route("index.html", web::get().to(index)),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) struct AppState<Backend> {
|
pub(crate) struct AppState<Backend> {
|
||||||
|
Loading…
Reference in New Issue
Block a user