File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ use crate :: services:: AppState ;
2+ use crate :: services:: health:: response:: EndpointStats ;
13use crate :: utility:: url;
24use askama:: Template ;
5+ use axum:: extract:: State ;
36use axum:: response:: { Html , IntoResponse , Response } ;
47use std:: env;
5- use axum:: extract:: State ;
6- use crate :: services:: AppState ;
7- use crate :: services:: health:: response:: EndpointStats ;
88
99#[ derive( Template ) ]
1010#[ template( path = "index.html" ) ]
@@ -13,7 +13,7 @@ struct IndexTemplate {
1313 version : String ,
1414 url : String ,
1515 domain : String ,
16- stats : EndpointStats ,
16+ stats : EndpointStats ,
1717}
1818
1919impl IntoResponse for IndexTemplate {
Original file line number Diff line number Diff line change 11pub mod cache;
22mod country;
33mod health;
4+ mod index;
45mod ip;
56pub mod jobs;
67pub mod routes;
78mod time;
8- mod index;
99
1010pub use cache:: StatsCache ;
1111use sea_orm:: DatabaseConnection ;
Original file line number Diff line number Diff line change @@ -41,4 +41,4 @@ impl Routes {
4141 }
4242 app
4343 }
44- }
44+ }
You can’t perform that action at this time.
0 commit comments