mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
Add redirect to frontend
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user