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 // 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(
.route("", web::get().to(index)) web::scope("/")
.route("index.html", web::get().to(index))); .route("", web::get().to(index))
.route("index.html", web::get().to(index)),
);
} }
pub(crate) struct AppState<Backend> { pub(crate) struct AppState<Backend> {