Fix all compilation issues.

This commit is contained in:
Florian THIERRY
2026-07-14 13:55:41 +02:00
parent c24df944c5
commit f8fd59b01a
28 changed files with 752 additions and 284 deletions
+2
View File
@@ -4,6 +4,7 @@ use crate::user::validator::validator;
use actix_web::web::ServiceConfig;
use actix_web::{get, web, HttpResponse, Responder};
use actix_web_httpauth::middleware::HttpAuthentication;
use crate::video::handler::download_file;
pub mod user;
pub mod video;
@@ -14,6 +15,7 @@ async fn health() -> impl Responder {
}
pub fn init(cfg: &mut ServiceConfig) {
cfg.service(download_file);
cfg.default_service(web::to(not_found));
}