Add redirect to frontend

This commit is contained in:
Lennart
2024-10-14 09:51:48 +02:00
parent ac0206568d
commit e9142c7ea1

View File

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