Refresh repo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-31 20:36:33 +02:00
parent 576188da12
commit 8875b24d31
5 changed files with 966 additions and 561 deletions

View File

@ -6,14 +6,14 @@ use std::sync::mpsc;
use std::task::{Context, Poll};
use actix::dev::Stream;
use actix_web::HttpServer;
use actix_web::dev::ServiceRequest;
use actix_web::middleware::Logger;
use actix_web::web::Bytes;
use actix_web::HttpServer;
use actix_web::{web, App, HttpResponse};
use actix_web::{App, HttpResponse, web};
use actix_web_httpauth::extractors;
use actix_web_httpauth::extractors::basic::BasicAuth;
use actix_web_httpauth::extractors::AuthenticationError;
use actix_web_httpauth::extractors::basic::BasicAuth;
use actix_web_httpauth::middleware::HttpAuthentication;
use askama::Template;
use clap::Parser;
@ -60,7 +60,7 @@ fn recurse_scan<B: AsRef<Path>>(dir: B) -> Vec<PathBuf> {
let mut list = vec![];
for file in dir.read_dir().unwrap() {
let file = file.unwrap();
list.append(&mut recurse_scan(&file.path()));
list.append(&mut recurse_scan(file.path()));
}
list