mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 07:02:24 +00:00
11 lines
259 B
Rust
11 lines
259 B
Rust
use actix_web::{
|
|
web::{self, Data},
|
|
HttpResponse,
|
|
};
|
|
use rustical_store::calendar::CalendarStore;
|
|
use tokio::sync::RwLock;
|
|
|
|
pub fn configure_frontend<C: CalendarStore>(cfg: &mut web::ServiceConfig, store: Data<RwLock<C>>) {
|
|
cfg.app_data(store);
|
|
}
|