Massive refactoring how DAV resources and routes work

This commit is contained in:
Lennart
2024-10-03 23:02:13 +02:00
parent 9c8c05eaca
commit a47d056df0
15 changed files with 218 additions and 162 deletions

View File

@@ -42,7 +42,8 @@ pub fn make_app<CS: CalendarStore + ?Sized>(
// }),
)
.service(
web::scope("/frontend").configure(|cfg| configure_frontend(cfg, cal_store.clone())),
web::scope("/frontend")
.configure(|cfg| configure_frontend(cfg, auth_provider.clone(), cal_store.clone())),
)
.service(web::redirect("/", "/frontend").permanent())
}