mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 16:32:29 +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")
|
web::scope("/frontend")
|
||||||
.configure(|cfg| configure_frontend(cfg, auth_provider.clone(), cal_store.clone())),
|
.configure(|cfg| configure_frontend(cfg, auth_provider.clone(), cal_store.clone())),
|
||||||
)
|
)
|
||||||
|
.service(web::redirect("/", "/frontend").see_other())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user