Updated metars with redis caching on invalid metars

This commit is contained in:
2025-04-10 09:03:38 -04:00
parent d04f5d0414
commit 9bcad27ca5
9 changed files with 414 additions and 72 deletions

View File

@@ -1,8 +1,9 @@
use std::env;
use actix_cors::Cors;
use actix_web::{App, HttpServer, middleware::Logger};
use actix_web::{App, HttpServer, middleware::Logger, web};
use dotenv::from_filename;
use moka::future::Cache;
use crate::auth::hash;
use crate::users::{User, ADMIN_ROLE};