CI
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2024-12-06 00:16:48 +01:00
parent 0f35d34bcb
commit 49103085f7
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
3 changed files with 16 additions and 35 deletions

View file

@ -7,6 +7,7 @@ async fn index(req: HttpRequest) -> impl Responder {
let path = req.path();
let p: &actix_web::web::Data<Mirror> = req.app_data().unwrap();
// todo : test
if path == "/" {
if let Some(ret) = p.index_page() {
return ret;