diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index acc9f9f..ab03fb3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,14 +9,14 @@ use axum::body; use axum::extract::Path; use axum::{error_handling::HandleErrorLayer, routing::get, BoxError, Extension, Router}; use axum::response::{Html, IntoResponse, Response}; -use axum_extra::extract::PrivateCookieJar; +use axum_extra::extract::{PrivateCookieJar, SignedCookieJar}; use axum_extra::extract::cookie::Key; use errors::{StringResult, HtmlResult}; use hyper::StatusCode; use sqlx::{PgPool, postgres::PgPoolOptions}; use tower::ServiceBuilder; use tower_http::trace::TraceLayer; -use tracing::{error, info, debug}; +use tracing::{error, info, debug, trace}; use crate::errors::ServiceError; use tracing_subscriber::prelude::*; use crate::models::DbUser; @@ -117,7 +117,7 @@ async fn index(state: Extension<Arc<State>>, jar: PrivateCookieJar) -> HtmlResul async fn statics(Path(name): Path<String>) -> Result<Response, ServiceError> { for s in templates::statics::STATICS { - debug!("Name: {}\nContents:\n{:?}\n\n", s.name, s.content); + trace!("Name: {}\nContents:\n{:?}\n\n", s.name, s.content); } match templates::statics::StaticFile::get(&name) { |