fix rust formatting

This commit is contained in:
kaysond 2021-11-28 15:41:33 -08:00 committed by nitnelave
parent f730e6a580
commit 45c50923b7

View File

@ -73,9 +73,11 @@ fn http_config<Backend>(
// Serve static files
.service(Files::new("/static", "./app/static"))
// Serve the index
.service(web::scope("/")
.route("", web::get().to(index))
.route("index.html", web::get().to(index)));
.service(
web::scope("/")
.route("", web::get().to(index))
.route("index.html", web::get().to(index)),
);
}
pub(crate) struct AppState<Backend> {