Added Czech translations to charts. Added logging to actix.

This commit is contained in:
2024-02-28 08:49:05 +01:00
parent 676951e809
commit 28c4e82bf9
3 changed files with 44 additions and 5 deletions
+2
View File
@@ -1,3 +1,4 @@
use actix_web::middleware::Logger;
use leptos_captcha::spow::pow::Pow;
use log::error;
use rezervator::backend::appearance::check_appearance;
@@ -78,6 +79,7 @@ async fn main() -> std::io::Result<()> {
App::new()
.app_data(Data::new(AppData::new(pool.clone(), mailing.clone())))
.wrap(Logger::default())
.wrap(Authentication)
.wrap(SessionMiddleware::new(
CookieSessionStore::default(),