making email a lot smarter

This commit is contained in:
Chris Cochrun 2024-11-08 07:07:10 -06:00
parent a777d0a29e
commit e8dbb324f3
4 changed files with 253 additions and 437 deletions

View file

@ -1,4 +1,5 @@
mod api;
pub mod email;
use actix_files::Files;
use actix_multipart::form::tempfile::TempFileConfig;
@ -28,7 +29,9 @@ impl RootSpanBuilder for DomainRootSpanBuilder {
let info = request.connection_info();
let ip = info.realip_remote_addr().expect("hi");
let location = request.path();
info!(?method, ip, location);
if location.ends_with("/") {
info!(?method, ip, location);
}
tracing_actix_web::root_span!(request)
// let client_id: &str = todo!("Somehow extract it from the authorization header");